Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

First things firs.... up until now (before I experimented with some plugins - many) my blog was behaving properly.... 1. I write the post 2. Import the media from my computer 3. Insert the media into my post 4. When I click on media link ... it fires up the pdf file (for example)

Now

when I do everything same from 1 to 3 and when I try to open up the pdf file, my blog leads me from post url (/?p=1491 in the url) first to attachemtn URL (/?attachment_id=1927) which is WRONG. On that page there is a link to the pdf file.

How can I bypas this extra step and go directly to pdf?

|help|please|

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

In the Add Media window, click the "File URL" button, not "Post URL" before inserting it into the post.

share|improve this answer
add comment

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.