[wp-trac] [WordPress Trac] #18621: Three dashes in permalink = broken links

WordPress Trac wp-trac at lists.automattic.com
Thu Sep 8 18:29:17 UTC 2011


#18621: Three dashes in permalink = broken links
---------------------------+------------------------
 Reporter:  maggiemasetti  |       Owner:  NASA
     Type:  defect (bug)   |      Status:  closed
 Priority:  normal         |   Milestone:
Component:  General        |     Version:  3.2.1
 Severity:  major          |  Resolution:  duplicate
 Keywords:                 |
---------------------------+------------------------

Comment (by nacin):

 Hi Maggie,

 I'm not sure the reason for the 404, as this should work without an issue.
 I'm not sure if it has to do with the fact that you're using ugly PATHINFO
 links (index.php in them). Those are lame, and sometimes buggy.

 Unfortunately, the middle dash is an en dash. We don't sanitize these.
 Beginning in version 3.3 (currently in development), we should be. See
 #10797.

 WordPress does remember old slugs for non-hierarchical post types. So if
 you edit the slug to remove the en dash (and thus the hyphens will
 collapse into one), it'll remember the old link. Assuming, of course, the
 link doesn't 404, as it is for you currently.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18621#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list