Make WordPress Core

Opened 4 years ago

Last modified 4 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:

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 (2)

#1 @ujjwalghosh
4 years ago

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

#2 @brookedot
4 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 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/

Note: See TracTickets for help on using tickets.