Broken pagination links on WP 4.9.10 blog pages

We noticed a weird issue on our WP 4.9.10 blog pages when going to 1st page. Right now we can go to 2nd or 3rd page by c

We noticed a weird issue on our WP 4.9.10 blog pages when going to 1st page. Right now we can go to 2nd or 3rd page by clicking the page numbers but saw that it gives 301 code when going to 1st page but gets 200 response code for 3rd or 4th, and so on.

Clicking the Previous button on the blog pagination at the bottom takes you to a page with hosted server name.

This sometimes happens when clicking 1, 2, 3, when you are on page 4 (and so forth for other pages).

/

At the end we get site can't be reached because WP blog is set up inside DMZ with reverse proxy set up.

/

We have not customized any PhP code other than making few changes to admin panel settings and http conf changes to work with reverse proxy and https only.

We noticed a weird issue on our WP 4.9.10 blog pages when going to 1st page. Right now we can go to 2nd or 3rd page by clicking the page numbers but saw that it gives 301 code when going to 1st page but gets 200 response code for 3rd or 4th, and so on.

Clicking the Previous button on the blog pagination at the bottom takes you to a page with hosted server name.

This sometimes happens when clicking 1, 2, 3, when you are on page 4 (and so forth for other pages).

https://www.oursite/blog/category/news/page/1/

At the end we get site can't be reached because WP blog is set up inside DMZ with reverse proxy set up.

https://hostedservername/blog/category/news/

We have not customized any PhP code other than making few changes to admin panel settings and http conf changes to work with reverse proxy and https only.

Share Improve this question asked Apr 18, 2019 at 17:53 cnucnu 101
Add a comment  | 

2 Answers 2

Reset to default 0

please go to setting > permalinks and click on the save button if you are using nginx reverse proxy check this page: https://codex.wordpress/Nginx

Followed fix mentioned here to resolve pagination issue. Updated functions.php file to include add_filters function as mentioned there.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745475510a4629329.html

相关推荐

  • Broken pagination links on WP 4.9.10 blog pages

    We noticed a weird issue on our WP 4.9.10 blog pages when going to 1st page. Right now we can go to 2nd or 3rd page by c

    4小时前
    20

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信