[wp-trac] [WordPress Trac] #39279: Media gallery in WP 4.7 has incorrect permalinks for PDF's

WordPress Trac noreply at wordpress.org
Wed Dec 14 15:00:13 UTC 2016


#39279: Media gallery in WP 4.7 has incorrect permalinks for PDF's
--------------------------+------------------------------
 Reporter:  Marcoevich    |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Media         |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  close         |     Focuses:
--------------------------+------------------------------
Changes (by swissspidy):

 * keywords:   => close
 * version:  4.7 =>


Comment:

 Hey there,

 Media files are accessible on the website like posts and pages. When your
 permalink structure is `/%postname%` and the media file is not attached to
 a post, `http://example.com/my-media-file/` is the correct permalink for
 an attachment. This has been the case for quite a while.

 If you want the URL for the actual file inside wp-content, have a look at
 the meta box on the right of the screen.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39279#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list