#60866 closed defect (bug) (worksforme)
Non existing 404 url open homepage when using static homepage feature
Reported by: | ashvinblog | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 6.4.3 |
Component: | Rewrite Rules | Keywords: | |
Focuses: | Cc: |
Description
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.
Change History (3)
#2
@
7 months ago
currently using https://wordpress.org/themes/astra/ theme
but also tested issue in wordpress default theme
#3
in reply to:
↑ 1
@
7 months ago
Replying to pratiklondhe:
hi, can you help with which theme you are using? If your theme does not have a template for 404.php it will by default redirect to the index.php template
currently using https://wordpress.org/themes/astra/ theme
but also tested issue in wordpress default theme
hi, can you help with which theme you are using? If your theme does not have a template for 404.php it will by default redirect to the index.php template