Archived topic
Pagination is calling the home url instead of the wordpress url
1 reply · Started by Kevin on October 3, 2018
We are decoupling our multi-site and using generatepress (which is one of the most incredibly lightweight supremely blazing fast themes we've been able to find... well-done guys!). The problem is this...
Our site oursite.com is the root site. Yet this theme will be installed in a subfolder i.e. oursite.com/subfolder.
Our site address = oursite.com
Our WordPress address = oursite.com/subfolder
However, the pagination links seem to be trying to call the site address vs. the WordPress address; which results in the pagination URL being inaccurate and throwing 404 messages because the blog posts live at: oursite.com/subfolder/post NOT oursite.com/post.
We are using a childtheme.
Kindly advise how to update the hook or function so that it calls the WordPress address. Thanks!
Hi there,
We're using a core WordPress function for the pagination: https://codex.wordpress.org/Function_Reference/the_posts_pagination
Have you double checked the permalink settings?
Let me know :)