cPanel 301 Redirect Not Working or Causing Redirect Loop

You may have tried to create similar redirects:

Redirect 301 /test.xml

Redirect 301 /feed/

Redirect 301 /feed

The above is what cPanel would generate if you use the Redirect option. Here are the entries that will actually work:

RedirectMatch 301 ^/test.xml$

RedirectMatch 301 ^/feed/$

RedirectMatch 301 ^/feed$




An article by -

Always willing to learn new concepts and skills not only in the area of Internet and computers. Working as a Linux System Administrator.

0 comments… add one

Leave a Comment