[wp-trac] [WordPress Trac] #49510: Regular expression metacharacters in category and tag base lead rewrite rules to fail.

WordPress Trac noreply at wordpress.org
Tue Feb 10 09:38:33 UTC 2026


#49510: Regular expression metacharacters in category and tag base lead rewrite
rules to fail.
---------------------------+------------------------------
 Reporter:  raaaahman      |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Rewrite Rules  |     Version:  5.3.2
 Severity:  normal         |  Resolution:
 Keywords:  needs-patch    |     Focuses:  administration
---------------------------+------------------------------
Changes (by sverleis):

 * keywords:   => needs-patch


Comment:

 I was still able to recplicate this issue, after a merchant inadvertently
 added a `.` to the category base.

 Most post categories redirect to a 404, or sometimes to a product that has
 a sort of similar slug.

 WordPress version is 6.9.1

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


More information about the wp-trac mailing list