redirect – Create a permalink to a pdf?


I have a website where I want the permalink to my resume to be, so that whenever I send someone that link, it goes to the most recent version of my resume. But I don’t want my resume to be a webpage — I just want the permalink to send people to a PDF file, say This way people with the link always see the most recent version, regardless of when I sent it.

If possible, I’d also like to be able to redirect people who have the link to be redirected to, and then sent to the newest version of the file.

I’ve tried using a few plugins for this, but nothing seems to be able to generate permalinks for media files. Does anyone know how to do this?

in progress 0
Catlard 1 year 2021-07-28T15:38:53-05:00 0 Answer 0 views 0

Answer ( 1 )


    You can accomplish the first part using the Quick Page/Post Redirect Plugin. Just set the Request URL to /resume and the Destination URL to /wp-content/uploads/2021/07/Resume-v4.pdf

    For the second part of your question, you can add a redirect rule to your .htaccess file:

    Redirect /wp-content/uploads/2021/07/Resume-old.pdf /resume

    The way you worded your question you actually would set up an infinite redirect, so I changed it here to “Resume-old.pdf”.

Leave an answer