Opened 5 years ago
Closed 2 months ago
#52921 closed defect (bug) (worksforme)
If page content blank and any page shows 404 error
| Reported by: | ujjwalghosh | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Query | Version: | |
| Severity: | normal | Keywords: | 2nd-opinion |
| Cc: | Focuses: |
Description
If not add any content in the page default content area from the admin panel and save the page and then view the page it shows 404page not found. If add any content in the content area and save then view the page, it's working fine.
https://ngatiwhatuaorakei.com/
Change History (3)
#2
@
5 years ago
- Component General → Query
- Keywords 2nd-opinion added
- Summary Tf page content blank and avew page show 404 erroe → If page content blank and any page shows 404 error
- Version 5.7
Hi @ujjwalghosh,
Welcome to Trac! This sounds like the expected behavior. What you describe is likely the behavior of a plugin or theme installed to your site. To clarify you are following these steps:
1) Pages > Add New
2) Add a slug (ie, test )
3) Click Publish
4) Visit example.com/test
You see a 404 there?
I wasn't able to replicate that with Twenty Twenty, so can you first try to enable Twenty Twenty and then disable all plugins? If you are not able to replicate it with the default setup the please head over to the support forums for additional assistance:
https://wordpress.org/support/forums/
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
if add any content in page content then call the content page in side while loop