[wp-trac] [WordPress Trac] #63123: Numbered Pagination Adds a Trailing / To URLs That Generates a 404 Error
WordPress Trac
noreply at wordpress.org
Thu Mar 20 01:43:50 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 peterwilsoncc):
Of the two approaches, I prefer @ruturajraval2305's suggestion of checking
for the presence of a query string parameter rather than limiting the test
to `is_search()`.
It appears this issue is also affecting content with a query block and
testing for a query string will prevent that too. It will also allow for
plugins using query string parameters.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63123#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list