Make WordPress Core

Opened 3 years ago

Last modified 3 years ago

#52921 new defect (bug)

If page content blank and any page shows 404 error

Reported by: ujjwalghosh's profile ujjwalghosh Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Query Keywords: 2nd-opinion
Focuses: Cc:


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.

Change History (2)

#1 @ujjwalghosh
3 years ago

if add any content in page content then call the content page in side while loop

#2 @brookedot
3 years ago

  • Component changed from General to Query
  • Keywords 2nd-opinion added
  • Summary changed from Tf page content blank and avew page show 404 erroe to If page content blank and any page shows 404 error
  • Version 5.7 deleted

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

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:

Note: See TracTickets for help on using tickets.