Forum Moderators: phranque
ErrorDocument 400 /e400.html
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^example\.com
RewriteRule ^(.*)$ http://www.example.com/$1 [R=301,L]
RewriteRule ^\/folder\/4ft-thigie\.htm$ /folder/4ft-thingie-whatchmacallit.htm [R=301,L]
Can someone tell me if there is an error in the above?
For one, you don't need to escape the slashes. Also, is this in the httpd.conf file, or in an .htaccess file? If it's in an .htaccess file, then try the following:
RewriteRule ^folder/4ft-thigie\.htm$ /folder/4ft-thingie-whatchmacallit.htm [R=301,L]
If it is in the httpd.conf file, then try this (note the preceeding slash):
RewriteRule ^/folder/4ft-thigie\.htm$ /folder/4ft-thingie-whatchmacallit.htm [R=301,L]
Hope that helps!
Chad