How can I set up wordpress to recognize
www.example.com/wp-content/uploads/2010/12/history.pdf
as something like
www.example.com/about/pdf-download/
I also want the user not to see the actual link but the new one.
|
How can I set up wordpress to recognize
as something like
I also want the user not to see the actual link but the new one. |
||||
|
|
|
Do you just need to redirect that one specific request (for /wp-content/uploads/2010/12/history.pdf to /about/history.pdf)? Or do you need to to handle many requests (say, for /wp-content/uploads/2010/12/* to /about/*)? If it's the former, use a symbolic link (or, if you're not on Unix/Linux/BSD, whatever equivalent your OS offers). If it's the latter, use mod_rewrite (or, if you're not using Apache, whatever equivalent your Web server offers). |
|||||
|
|
If you're not comfortable with the methods jalefkowit suggested (due to lack of familiarity, not because they're not a good way to accomplish this!), you might want to take a look at the Redirection plugin. |
|||||||
|