[wp-trac] [WordPress Trac] #45337: Strange pagination issue

WordPress Trac noreply at wordpress.org
Tue Nov 13 05:18:16 UTC 2018


#45337: Strange pagination issue
-----------------------------+-----------------------------
 Reporter:  sachit.tandukar  |      Owner:  (none)
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Rewrite Rules    |    Version:  4.9.8
 Severity:  major            |   Keywords:
  Focuses:                   |
-----------------------------+-----------------------------
 Hi,

 I am facing strange pagination issue in WordPress. I could replicate it on
 other major WordPress websites as well apart from the one I am working on.

 If you check this website: https://highlandexpeditions.com/blog/,
 everything works fine. Pagination works fine too.

 However, if you visit https://highlandexpeditions.com/blog/2/, you will
 get the same page as https://highlandexpeditions.com/blog/. But the
 pagination links are ruined. You will have pagination links like
 (https://highlandexpeditions.com/blog/2/page/2/,
 https://highlandexpeditions.com/blog/2/page/3/) which goes to 404 page.

 I think WordPress should show 404 for
 https://highlandexpeditions.com/blog/2/ rather than showing
 https://highlandexpeditions.com/blog/.

 I don't think it has anything to do with themes or plugin. Because another
 popular website like https://www.wpbeginner.com/blog/ has the same issue.
 If you visit this URL (https://www.wpbeginner.com/blog/2/), you will find
 its pagination URL is wrong. I am able to replicate it on other websites
 as well.

 Thanks.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45337>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list