[wp-trac] [WordPress Trac] #33664: Missing mod_rewrite rule for unlinked attachments

WordPress Trac noreply at wordpress.org
Wed Sep 2 08:26:40 UTC 2015


#33664: Missing mod_rewrite rule for unlinked attachments
--------------------------+-----------------------------
 Reporter:  pfefferle     |       Owner:  swissspidy
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  Future Release
Component:  Permalinks    |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+-----------------------------

Comment (by pfefferle):

 I think it is more consistent to use a simple pretty permalink for the
 attachment (for example http://notizblog.org/attachment/6702) because a
 lot of plugins might make the same mistake (like we did with the oEmbed
 API plugin). It is recommended on several codex pages to check the
 permalink structure like this:

 {{{
 <?php if ( get_option('permalink_structure') ) { echo 'permalinks
 enabled'; } ?>
 }}}

 https://codex.wordpress.org/Using_Permalinks

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


More information about the wp-trac mailing list