I get 404 errors when I click on subsequent pages
-
I used WordPress’ native nextpage function to create pagination within a longer blog post, and it works. When I click on “2” to go to the second page, it works properly. The URL for my second page is constructed like:
https://www.mysite.com/?p=49677&page=2
But I wasn’t happy with the formatting of the page numbers. Since I’m not super savvy with CSS or PHP, I thought I’d try to see if a plugin could improve the formatting for me.
I installed Custom Nextpage and I really like the formatting it uses even as a default without customizing anything. However, when I click on the “2” to go to the second page, I get a 404 error saying that /2 was not found on the server. It looks like the URL has changed and is now formatted like:
https://www.mysite.com/2?p=49677
Anyone else experiencing this? Is there an easy way to fix this? Would I be better off learning how to format the pagination in the CSS myself?
- The topic ‘I get 404 errors when I click on subsequent pages’ is closed to new replies.