-
clongarela
Hi, I created an Element, type Loop Template to use on Blog pages. Inserted a Query block and I used inherit query from template and added pagination.
Result is https://tabernawp.com/blog but the pagination link goes to https://tabernawp.com/blog?query-page=2 and shows the first page again and the same with all pagination links.
If I go to https://tabernawp.com/blog/page/2 or https://tabernawp.com/blog/page/3 all work fine.
The question. How can I change the links from ?query-page=2 to /page/2 and so.
Thanks in advance, Carlos Longarela.
-
Fernando
Hi Clongarela,
Can you try to rebuild Permalinks by going to Settings > Permalinks and hitting on Save?
Can you try #1 here to debug: https://docs.generatepress.com/article/debugging-tips/
It’s recommended to backup your site before proceeding with this.
-
clongarela
Thanks, I saved permalinks and deleted cache and all the same, not working.
Also disabled all plugins, deleted cache and the same result, not working.
-
Hi Carlos,
It’s not possible to change the GB pagination buttons’ links at this moment.
Any chance you can provide an admin login so we can check the backend settings?
You can use the private info field and let me know!
-
clongarela
You can enter with the data posted in the Private Information area.
-
You’ve moved the pagination container out of the query loop block, so they don’t actually have any connection.
https://app.screencast.com/xiN98HVoGxm5ENow you need to remove the pagination container and select the query loop block, click the + icon to add new paginations.
-
clongarela
Ok, thanks a lot, I don’t know at what point or by what time it has moved out of the loop. Now it is perfect.
-
Glad to hear that 🙂
- You must be logged in to reply to this topic.