Forum Moderators: phranque
I set up the following command in htaccess and it isn't working. Both the html and the css validate.
RewriteRule ^dining/widget\.htm$ [DOMAIN.com...] [R=301,L]
When I try to access the old page it wipes out the .com on the domain and the browser posts a message saying:
Safari can’t open the page “http://www.DOMAIN/dining-widget.htm” because it can’t find the server “www.DOMAIN”.
Can anyone tell me what I'm doing wrong?
[edited by: Lorel at 7:32 pm (utc) on Oct. 1, 2006]
If you have no other rules that could be coming into play, then your server is misconfigured or has a bad install of mod_rewrite. Check for Servername being incorrect, or "UseCanonicalName on", either of which might have something to do with it.
Jim