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

WordPress Trac noreply at wordpress.org
Fri Feb 10 12:38:32 UTC 2017


#39833: WP accepts multiple hyphens in URL's without redirecting
--------------------------+-----------------------------
 Reporter:  ivantipov     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  4.7.2
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 This may be a feature, but there's something we've observed when migrating
 posts from another CMS - WordPress seems to accept URL's with multiple
 hyphens without redirecting them. Here's an example:

 https://developer.wordpress.com/2017/02/09/get-blog-goes-open-source/
 https://developer.wordpress.com/2017/02/09/get-blog-goes-open-----source/

 This poses potential SEO problems as some of our indexed URL's will have
 multiple dashes and the internal WP links will be sanitized to single. We
 can set up redirects but I thought I'd flag it with you since this seems
 to be an error.

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


More information about the wp-trac mailing list