redirects no longer work? using rewriterule

payne

Well-Known Member
May 31, 2003
103
0
166
Seattle
I noticed in a client's cpanel that adding a cpanel redirect now adds this code to the .htaccess file:

RewriteCond %{HTTP_HOST} ^.*$
RewriteRule ^oldLocation$ newLocation [R=301,L]

Instead of what it used to add, which was:
RedirectMatch permanent ^oldLocation$ newLocation

The new ones no longer work for me. Can someone confirm that cpanel has changed how redirects are added? Can anyone tell me why the new ones aren't working for me anymore?

P.