Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

If I upload a pdf file to the media library it gets a link like http://myblog.files.wordpress.com/2011/10/myfile.pdf. Is it possible to make a permanent link to it (e.g. the link will not change if I replace myfile.pdf with a new version next month or later). Either http://myblog.files.wordpress.com/something/myfile.pdf or just http://myblog.files.wordpress.com/myfile.pdf would be fine.

share|improve this question
    
You may ask this question on WordPress Stack Exchange. A meta filed with custom permalinks should be possible for attachments. –  toscho Apr 2 '12 at 14:14

1 Answer 1

up vote 0 down vote accepted

It is not possible, you are changing the file, the link has to change.

WordPress creates link based on the date of upload of the file.

What you can do is: use a url-shortner service such as tiny.cc, create a link to redirect to your myfile.pdf and then each time you update your file, you can have the very same tiny.cc link to redirect to your new file.

share|improve this answer
    
This is wrong. You can change permalinks for uploads, even for single ones, and you can replace existing files without changing the URL. WordPress does not create links based on the date, if you haven’t told it to do that. –  toscho Jan 14 at 7:22

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.