[wp-trac] [WordPress Trac] #60866: Non existing 404 url open homepage when using static homepage feature
WordPress Trac
noreply at wordpress.org
Sat Mar 30 14:05:58 UTC 2024
#60866: Non existing 404 url open homepage when using static homepage feature
---------------------------+-----------------------------
Reporter: ashvinblog | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Rewrite Rules | Version: 6.4.3
Severity: normal | Keywords:
Focuses: |
---------------------------+-----------------------------
When using static homepage feature, non existing page urls open homepage
instead of 404 page.
For example,
Your site is https://example.com
You set static homepage instead of default latest post.
Now, if someone visit url,
https://example.com/page/999999 or
https://example.com/?s%2525252527993994-%
This will display homepage with status 200, instead of 404 page.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60866>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list