Forum Moderators: phranque
Would you be kind enough to take a look at the short thread here: [webmasterworld.com...] and advise? (read post four to see my specific problem related to the 54 issues with my site).
Thank you.
Assuming that you already have working RewriteRules in your .htaccess file, the following rule will redirect from reviews.php to review.php, while retaining the original query string:
RewriteRule ^reviews\.php$ http://example.com/review.php [R=301,L]
Options +FollowSymLinks
RewriteEngine on
#
RewriteRule ^reviews\.php$ http://example.com/review.php [R=301,L]
And for use in httpd.conf, the pattern will need a leading slash:
RewriteRule [b]^/r[/b]eviews\.php$ http://example.com/review.php [R=301,L]