[wp-trac] [WordPress Trac] #39833: WP accepts multiple hyphens in URL's without redirecting
WordPress Trac
noreply at wordpress.org
Fri Feb 10 12:44:47 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: Canonical | Version: 4.7.2
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
--------------------------+------------------------------
Changes (by swissspidy):
* keywords: => needs-patch
* component: General => Canonical
Comment:
SEO isn't a problem because of `<link rel="canonical"` tags. Google will
see it as 1 URL.
@rinkuyadav999 The plugin is irrelevant.
To reproduce:
1. Create a new post with title "Foo Bar". The slug will be "foo-bar"
2. Visit `example.com/foo----bar/`
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39833#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list