Forum Moderators: phranque
I’m aware of test code for mod_rewrite via httpd.conf…. Is there similar code for using .htaccess?
Any help is greatly appreciated.
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^foo\.html$ /path_to_page_that_exists.html [L]
Note that the "Options" line may not be needed. Or it may not be allowed. Or it may be required -- Depends on your server configuration.
Jim
Just out of curiosity; why did the internal link throw a 404? Will I still be able to use this technique to clean up my dynamic URLs for this (less than desirable) host?