[wp-trac] [WordPress Trac] #63123: Numbered Pagination Adds a Trailing / To URLs That Generates a 404 Error
WordPress Trac
noreply at wordpress.org
Wed Mar 19 10:18:10 UTC 2025
#63123: Numbered Pagination Adds a Trailing / To URLs That Generates a 404 Error
--------------------------+-----------------------
Reporter: jeffr0 | Owner: audrasjb
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 6.8
Component: Permalinks | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+-----------------------
Comment (by ruturajraval2305):
This solution ensures that no trailing slash is added to URLs when a query
string is present. By checking for the existence of a query string using
the function, it modifies the behavior of the function. The condition
combines permalink structure validation with query string detection to
accurately handle URLs, preserving their intended structure.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63123#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list