[wp-trac] [WordPress Trac] #14773: Error in slug parsing leads to unlimited URLs for the same article = duplicate content

WordPress Trac noreply at wordpress.org
Sun Jun 1 22:52:01 UTC 2025


#14773: Error in slug parsing leads to unlimited URLs for the same article =
duplicate content
--------------------------+-----------------------------
 Reporter:  thermoman     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  Future Release
Component:  Canonical     |     Version:  2.5
 Severity:  normal        |  Resolution:  worksforme
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------------
Changes (by SirLouen):

 * keywords:  has-patch needs-testing => has-patch
 * status:  reviewing => closed
 * resolution:   => worksforme


Comment:

 == Reproduction Report
 === Description
 ❌ This report can't validate that the issue can still be reproduced
 nowadays

 === Environment
 - WordPress: 6.9-alpha-60093-src
 - PHP: 8.2.28
 - Server: nginx/1.27.5
 - Database: mysqli (Server: 8.4.5 / Client: mysqlnd 8.2.28)
 - Browser: Chrome 137.0.0.0
 - OS: Windows 10/11
 - Theme: Twenty Twenty 2.9
 - MU Plugins: None activated
 - Plugins:
   * Test Reports 1.2.0

 === Testing Instructions:

 - Test 1. Add a post with a Capital letter title like `/About`
 1. It will be the same as `/about`
 2. ❌ Capitalization of URL is not respected, but canonical respects it
 - Test 2. Add a post with two words
 1. It will create an url like `/two-words`
 2. ❌ Other URL like `/two----words` are not respected, but canonical
 respect it
 3. ❌ Same for Url with a dot like `/two.words` they are not respected,
 but canonical respect it

 === Results

 - ❌ Error condition doesn't occur any more

 === Additional Notes
 - Although the fact that all URL are reporting server code 200, all URLs
 are correctly canonicalized, which poses no risk from a SEO perspective.
 - For this reason, this report has become obsolete and it's time to be
 closed.

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


More information about the wp-trac mailing list