[wp-trac] Re: [WordPress Trac] #7040: Link to File changes to Link to Attachment IF PAGE IS STARTPAGE

WordPress Trac wp-trac at lists.automattic.com
Tue Feb 3 20:31:55 GMT 2009

#7040: Link to File changes to Link to Attachment IF PAGE IS STARTPAGE
 Reporter:  shusha             |        Owner:  westi
     Type:  defect (bug)       |       Status:  new  
 Priority:  high               |    Milestone:       
Component:  Gallery            |      Version:  2.7  
 Severity:  normal             |   Resolution:       
 Keywords:  reporter-feedback  |  
Changes (by tortillasoup):

  * priority:  normal => high


 I can confirm this error. I am using 2.7 and have tested this on two
 different sites. When attempting to insert a pdf on the main page of the
 website rather than linking to the pdf a link to a post page is created
 and on that page a link will appear in the body to the actual document.
 Before publishing I have checked the link for the correct path to the pdf
 as well as once inserted i check the path using the "insert/edit link"
 button to check the path one last time. After the page is published I view
 it and what you get is a link to http://www.xxxxxxx.com/xxxxxpost instead
 of http://www.xxxxxx.com/xxxx.pdf . I have tested this on other pages
 outside of the main / static page and it works. Error only occurs when
 attempting to insert media in the main page.

 Using Wordpress 2.7
 1. open / edit main page
 2. click "add media" button
 3. click select files (flash loader button does not work, I think it may
 because of Flash Player 10)
 4. select document (pdf)
 5. select "file URL" in the Link URL option. This used to be the default,
 now an option must be chosen
 6. select insert to post
 7. click in the link in the post box and then select "link / edit" button
 8. verify correct path to the document
 9. publish page
 10. view page / link will not be to document rather to a post
 11. only happens on main page / works on all others

 Hope this helps. I set the priority to high only because this is a
 productivity issue for some of my clients attempting to update their

Ticket URL: <http://trac.wordpress.org/ticket/7040#comment:4>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list