Is that the right way to redirect one specific file to another or am I missing something? Frankly, I didn't understand the Apache docs at all. What's a %-encoded and %-decoded url? I guess a url-path is not the same as a file name but needs to be a directory?
Thanks!
redirect permanent /old.html [mydomain.com...]
Redirect 301 /old.html [your_domain.com...]
In case you speak HEX, I encoded the above message for you. :)
%54%68%69%73%20%77%6f%75%6c%64%20%77%6f%72%6b%20%61%6c%73%6f
%2e%d%a%d%a%52%65%64%69%72%65%63%74%20%33%30%31%20%2f%6f%6c
%64%2e%68%74%6d%6c%20%68%74%74%70%3a%2f%2f%79%6f%75%72%5f%64
%6f%6d%61%69%6e%2e%63%6f%6d%2f%6e%65%77%2e%68%74%6d%6c
(edited by: Key_Master at 4:06 am (utc) on Jan. 16, 2002)
Here's how the apache docs describe it:
Redirect [status] URL-path URL
URL-path a (%-decoded) path; any requests for documents beginning with this path will be returned a redirect error to a new (%-encoded) URL beginning with URL
Now if that isn't as clear as Turkish coffee...
Key_master, did your Hex hex put a spell on this topic and make the line length abominable? :)