I got fix this problem with:
add_rewrite_rule('blog/([^/]*)/page/([0-9]+)?/?$', 'index.php?post_type=blog&blogs_tax=$matches[1]&paged=$matches[2]', 'top');
In functions.php, after register_post_type
.
Very important: You must flush rules. It is easy to do changing the permalink.
Related Posts:
- The default code for “posts_nav_link” on category.php isn’t working
- pagination 404 error, same slug home and categories
- Display posts from the same category using next/previous post link
- How can I create a category landing page followed by pages of posts?
- How do I get the category URL from get_the_category?
- How do I use the same post slug for different Categories?
- Rewrite rule page url with category
- Display all posts from all categories with pagination
- Show Previous/Next Posts navigation only inside the same category
- Create terms when registering taxonomy?
- How to create non-unique sub-category slugs?
- Rewrite category slug
- Using same slug name for a page and category
- Add category to custom post type automatically, using category slug
- Echo one category as title when post has multiple categories?
- Page navigation within a category
- Show posts of one category only with Custom Taxonomy on single.php
- I use same slug name for category and page
- Pagination on child category returns 404
- Divi change project slug based on category
- Removing the number in a category slug
- Disable pagination only for specific category
- Add custom taxonomy terms to WordPress menu dynamically & append #slug to url
- Archive pagination causing 404 with permalinks structure
- Custom category template pagination problem
- How can i call an article from each category and still paginate properly?
- Plural Category Base Slug On Category Archive Page
- Show posts of category in a page
- Return category slug / title from category ID
- Force category-slug.php to show page, even if it doesn’t exist
- Duplicate Category and Page URL loads Category instead of the Page
- Category slug $_SERVER[‘REQUEST_URI’];
- 403 forbidden on one page only
- Get the name an the description of a link category
- Using a portfolio_category slug in wordpress URL
- Categories vs. Page Site Organization
- Pagination Not Working on Category.php page
- WooCommerce duplicate sub categories and product slugs
- 3 Columns, 3 Categories, One Archive, and Pagination
- Broken category pagination
- Need to pull parent category and slug – only pulling daughter category
- ?cat=-1 Indexed Versions Of Homepage
- Enter a variable in the ‘category_name’ parameter
- Displaying a full post instead of a slug per category?
- wordpress sub-category ( lowercase letters + non-latin characters ) = 404
- Pagination not visible on woocommerce’s category page
- Pagination is not working properly in Product Category/Tag pages
- Restoring default article pagination on archives – Removing custom limits
- Why category.php throw 404 in wordpress while calling paginate_links()?
- Paging not working in category.php
- How do I toggle pagination on/off in search results and category listings via a link?
- Mod_Rewrite to show only last subcategory in URL
- Multiple Loops on category.php with pagination on last loop
- Custom post and category template pagination problem
- How to make the link to the category for a post go to corresponding page number in archive?
- Category archives with monthly pagination
- category pagination got broken suddenly
- Pagination for ajax category filter
- Get posts from specific taxonomy term
- Category template with pagination returns 404 on next pages
- how to get full category path including parent and subcategories
- How to display numbered pages in a category
- Automatically redirect a page to a category that share the same slug
- WordPress alphabetical A-Z custom post type post result display
- How to show 1-5 of X Total Results
- Use the category name instead of category slug in permalinks
- Pagination on category.php and tag.php not working
- Trying to get variables in hacked category dropdown
- How to do paging in the loop?
- category__not_in and id values from variable
- Pagination for query_posts();
- Having problems with paging
- How do I add a tag slug to a category URL to filter posts?
- Change of category structure will cause two kinds of URLs for one post
- Change slug of Standard wp Post category
- How to remove the category from post slug
- Pagination doesn’t work on multiple categories
- Ordering categories by slug vs. name
- Pagination breaks on child-categories, works fine on parent-category
- Pagination for a category
- Can I define multiple paginations on a single page?
- Echo Category Nicename
- Conditional category query breaking?
- Category pagination not working
- How do I remove pagination from just some Categories?
- Problem with pagination block in Gutenberg
- Show the number of the post
- Different post slug based on archive
- A different permalink structure for different categories
- OK to redirect the root WordPress category slug?
- How Can I Use Equal And Question Mark In Category Slug?
- How to remove category name for only one category?
- How to prevent WordPress from redirecting single page to prefixed category archive with same name?
- Pagination for custom categories template
- Remove WP Core canonical for category pagination
- Include a page’s “category” in its URL
- Unable to create pagination for Category.php
- Using the slug of a custom post category as prefix for the underlying custom post slugs
- Change the full slug for a specific category?
- Exclude a category slug on pagination