url redirection
- Started
- Last post
- 7 Responses
- Duane
Is there a way to reroute a request for a specific file in a directory to a new directory containing that file? Basically, I have a directory full of random images that is fairly heavily linked and I'd like to change the name of the directory without losing the traffic. Here's an example:
Needs to redirect to:
Thanks in advance.
- doggy0
will not work with an image file - only if its directed to a html file.
- Duane0
Bummer, not even with .htaccess? Ah well, in a way it seems so simple.
- welded0
Is this at all helpful?
http://www.javascriptkit.com/how…
- ribit0
I think you can redirect anything to anything using mod rewrite in your server config file (or in a htaccess file)
(dont ask me how)
- Mick0
I think an alias will do the trick
http://httpd.apache.org/docs-2.0…No idea how it all works, just seen it in action before.
- DutchBoy0
yeah you can. i have seen it. don't know how exactly...
i think you do have to use an htaccess file indeed.
- Duane0
Thanks for the input everyone. I'll let you know if I can get it to work. Let's see how bad I can screw up my server!

