[wp-trac] [WordPress Trac] #57858: If permalink structure is set to /%category%/%postname% , WordPress will match a /0/ path as a category archive
WordPress Trac
noreply at wordpress.org
Sat Mar 11 07:25:34 UTC 2023
#57858: If permalink structure is set to /%category%/%postname% , WordPress will
match a /0/ path as a category archive
--------------------------------------------+------------------------------
Reporter: krdevio | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Rewrite Rules | Version: 6.1.1
Severity: normal | Resolution:
Keywords: has-testing-info needs-testing | Focuses:
--------------------------------------------+------------------------------
Comment (by mujuonly):
The link example.com/wp-content/0/ will not return a 404, and resolve to
category archive template.
== Test Report
=== Env
WordPress 5.7.2
Chrome Version 110.0.5481.177 (Official Build) (arm64)
MacOS Monterey
Theme: Twenty Twenty Three
=== Steps to test
1. The exact permalink setting I had was /%category%/%postname%.html
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57858#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list