Custom taxonomy pagination not working
-
Hi, i will really appreciate your help on this, because i have already spent two days on resolving this issue without any luck.
When i visit the custom taxonomy page i see 8 posts, but when i click on the pagination to see the 2nd page i get 404 error.
Following are the settings:
In the taxonomy edit page:
Taxonomy slug = projectcat
Custom Rewrite Slug = renoinspirationI have a term with the slug “cuisine”
When i visit /renoinspiration/cuisine/ It’s fine, it lists the 1st set of posts with this term.
But when i visit /renoinspiration/cuisine/page/2/ i get the 404 error.Also tried to add the following rewrite rule but with no luck.
add_rewrite_rule('^renoinspiration/([^/]*)/page/([^/]*)$', 'index.php?paged=$matches[2]&projectcat=$matches[1]', 'top');
- The topic ‘Custom taxonomy pagination not working’ is closed to new replies.