Permalinks doesn't work as expected with tags (pagination problem)
-
Hi,
I’ve made my own template to display events with tags using ‘WP_Query’.
The page return me the good results, but is unable to correctly paginate through them.
I’ve tested without setting ‘posts_per_page’ : result -> ok all is displayed.I’ve tested setting my ‘posts_per_page’ variable to ‘1’ : result -> the link to the next page is present (and that’s correct) linking to ‘https://mydomain.tld/events/tags/cafeteria/page/2/‘ (that’s okay too) but when I click on it, it show me the 404 error page.
To finalize the test, I tried to “manually” access to my page 2 by ‘https://mydomain.tld/events/tags/cafeteria/?page=2‘ and then it correctly show me the page 2…
So I suspect a rewrite/permalink problem…
How can I bypass or correct that problem, please ?
TIA,
Pierre.
- The topic ‘Permalinks doesn't work as expected with tags (pagination problem)’ is closed to new replies.