Forum Moderators: phranque
On the address bar, the filename would be:
[mysite.com...]
When I try to use .htaccess to redirect this, e.g.
RedirectPermanent /file%20name.htm [mysite.com...]
I get a 404 error back without a redirect. If I change it to
RedirectPermanent /filename.htm [mysite.com...]
(without the space) the redirect works fine, but of course, that's not the name I want to redirect. Just putting a real space in the filename doesn't work either.
Anybody have any idea what to do about the spaces?
RedirectPermanent [httpd.apache.org] "aaron c.html" [ac.com...]
works for me. Add quotes around the absolute URL-path argument.
HTH Andreas