Make WordPress Core

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)

#1 @ujjwalghosh
5 years ago

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

#2 @brookedot
5 years ago

  • Component GeneralQuery
  • Keywords 2nd-opinion added
  • Summary Tf page content blank and avew page show 404 erroeIf 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/

#3 @joedolson
2 months ago

  • Milestone Awaiting Review
  • Resolutionworksforme
  • Status newclosed

With no follow-up on this ticket, and no similar reports, I think that @brookedot's assumption that this was a plugin or theme issue is most likely the case.

Closing due to insufficient information.

Note: See TracTickets for help on using tickets.