[wp-trac] [WordPress Trac] #39833: WP accepts multiple hyphens in URL's without redirecting

WordPress Trac noreply at wordpress.org
Fri Feb 10 13:32:02 UTC 2017


#39833: WP accepts multiple hyphens in URL's without redirecting
--------------------------+------------------------
 Reporter:  ivantipov     |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Canonical     |     Version:  4.7.2
 Severity:  normal        |  Resolution:  duplicate
 Keywords:                |     Focuses:
--------------------------+------------------------

Comment (by ivantipov):

 SEO would be an issue as we have legacy URL's already indexed, which had
 the canonicals set to multiple dashes. Not setting the redirects would
 create a mismatch, and setting old URL's in _wp_old_slug metas won't
 redirect them (since it accepts multiple dashes), so the only solution is
 setting up custom redirects, which I'd ideally like to avoid to prevent
 management/performance overhead.

 @SergeyBiryukov Thanks, couldn't find it via search.

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


More information about the wp-trac mailing list