[wp-trac] [WordPress Trac] #4463: Pretty permalink on search
WordPress Trac
noreply at wordpress.org
Thu Aug 24 19:30:17 UTC 2023
#4463: Pretty permalink on search
----------------------------------------+-----------------------------
Reporter: markjaquith | Owner: (none)
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: Future Release
Component: Permalinks | Version: 2.3
Severity: normal | Resolution:
Keywords: has-patch needs-unit-tests | Focuses:
----------------------------------------+-----------------------------
Comment (by joostdevalk):
I'd actually prefer us to rip out the clean version of search permalinks
from all WordPress sites. Basically get rid of `/search/` altogether and
redirect all `/search/` to `?s=` queries.
For search, using a parameterized URL has remained the most common pattern
across all big CMSes and big websites. It makes tracking a lot easier, and
not having both clean and non-clean modes actually improves cache hit
rates and decreases spam attack vectors.
Paginated search URLs should then always use a second parameter, so, back
to `https://example.com/?s=test&paged=2` or similar.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/4463#comment:24>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list