Forum Moderators: phranque
i've looked around the site briefly and couldn't find my answer.
i've reimplemented my dynamic site and all urls have changed from
/widget/blue-big.html to
/widget/blue-big.php
i've written a rule and put it into my conf file:
#Redirect any .html requests.
RewriteRule /(.*).html$ /$1\.php [R=301]
this is now causing my script to fail.
i set up a rewrite log file andf it shows that the $1 part of the url has [mydomain.com...] when my script is expecting /widget/blue-big.php
could anyone please point me in the right direction
thanks in advance
RewriteRule /(.+)[b]\.[/b]html$ /$1[b].[/b]php [R=301,L]