Forum Moderators: phranque
RedirectMatch 301 (.*)\.html$ [mysite.com$1.php<...]
The section is breaks is an ecommerce setup with RewriteBase > RewriteRules. These are in place for search engine friendly URLS.
RewriteRule ^(.*)-p-([0-9]+).html$ product_info.php?products_id=$2&%{QUERY_STRING}
So all the products in the store are becoming .php and as such do not work. I probably could change the .html$ to .php$ but I don't want to mess with that really.
Is there anyway to apply the RedirectMatch 301 to only a certain part of the site or tell it to ignore certain folders.
Thanks