WordPress.org

Make WordPress Core

Opened 5 months ago

Closed 5 months ago

#46844 closed defect (bug) (duplicate)

Ghost pagination when static page set as frontpage

Reported by: dariobf Owned by:
Milestone: Priority: normal
Severity: normal Version: 5.1
Component: Canonical Keywords: needs-patch
Focuses: Cc:

Description

Latest version of WordPress, tested without active plugins and default theme.

How to reproduce bug:

1) Install WordPress and set a static page as front page
2) Load https://domain.ext/page/256 (random page number), this shouldn't exist, returning 404 error.

If You enter https://domain.ext/page/256/?orderby=date then loads the main loop query (with posts).

The bug is that that pagination shouldn't exist, returning 404 error.

I hope I could explain myself so You can understand me.

Regards.

Change History (1)

#1 @SergeyBiryukov
5 months ago

  • Component changed from General to Canonical
  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Hi @dariobf, welcome to WordPress Trac!

Thanks for the report, we're already tracking this issue in #28081.

Note: See TracTickets for help on using tickets.