just remove template redirect using remove template_redirect filter
use below code to stop the canonical redirect.
remove_filter('template_redirect','redirect_canonical');
Related Posts:
- Custom post type yearly/ monthly archive permalinks
- Changing the URL Structure of a Paginated Custom Post
- Custom Post Type Rewrite Rule for Author & Paging?
- Bulk 301 redirect for custom post type
- Pagination problem
- Redirecting when changing custom post type slugs?
- Pagination custom post type not working with rewrite slug
- rewriterule not working
- Pagination for custom post types – url rewriting
- Taxonomy rewrite pagination 404
- Pretty Permalinks with CTP and Taxonomies / Hierarchical
- Paging not working for hierarchical custom post type
- Rewrite Rule & Regex – Extract ‘cat-name’ and ‘page-number’ from http://domain.com/custom-post-type/category/cat-name/page/page-number
- Pagination not working with custom loop
- How to pass URL parameters for advanced taxonomy queries with multiple terms for one custom taxonomy
- wp_pagenavi() with custom wp_query()?
- Slug for custom post type archive
- Change page /2 to /transcript with a Rewrite
- Permalink rewrite with custom post type and custom taxonomy
- How would I leverage custom Taxonomies in this scenario?
- Pagination with custom loop
- Group list of posts by taxonomy and allow for pagination
- WP_Query pagination using only numbers instead of /page/1 on URL
- Is slug “type” reserved and can’t be used in taxonomy rewrite?
- WordPress removes spaces in URL on pagination
- Custom Post Type get_post_type_archive_link( $post_type ) returns false
- Permalinks when filtering multiple custom post types by single taxonomy
- custom taxonomy archive by year
- How to load custom post archives sub-pages with ajax?
- pagination redirecting from page number url before page requested
- How can you handle rewrite rules for custom post types with option to filter on custom taxonomy terms?
- Conditional regex in add_rewrite_rule() for specific query filters & pagination
- CPT: if more than X images are in post, use pagination
- Displaying Posts of a Custom Type
- Can’t change first part of URL rewrite for custom post type
- CPT Archive with core Category
- Relative URLs for a particular custom post type?
- Custom Taxonomy URL are redirecting to page with the same name
- Custom post type redirected to homepage – how to debug
- How can we take into account post types when constructing permalinks?
- Taxonomy custom post type URL
- How to build custom route by adding taxonomies to URL ? ex: www.demo.com/communities/palo-alto/
- How can achieve this permalink perfectly? domain.com/%category%/%post-name%
- Custom Permalink to remove category word , keeping posts permalink with date?
- WP Rewrite Rule Issue while using Custom post type & taxonomy
- How To Show All Custom Post Types In A Category Instead Of Pagination?
- WordPress uses url different from defined in rewrite arg of custom post type
- Is it possible to to use custom post type types on a page with the same slug somehow?
- WordPress custom post query with pagination
- Rewrite rule for Custom Post Type Page as a parent
- add_rewrite_rule and passing variables for custom post types
- can these 3 queries be re-written as 1 query?
- Permalink misbehaving in Custom Post Types
- Changed permalink structure of CPT – should I redirect?
- Edit Permalink Structure For Custom Post Type or Modify .htaccess?
- Add term slug in URL of custom post type details page
- Programmatically add custom field to post_name in a custom post type
- How to create custom search result page with custom URL parameters for custom post type?
- Custom post type and custom taxonomy 404 on page 2
- Rewrite permalink for multiple post types (CPT) with taxonomy term
- How to constrain the results to a specific post_type on tag archive page?
- Modifying rewrite rules to use /category//
- Difference between page and paged
- Custom Post Type Date Based Archive URL rewrite [duplicate]
- returning the currect URL for nested posts
- Pagination links for custom post type shows correct number of links, but links result in Page not found
- Pagination for custom post type giving 404 error (but only for news page)
- how to skip a CPT element from the pager by custom field
- 404 error rewrite permalinks
- Custom rewrite rule based on other custom post type title
- Faking “Same Slug Root, Multiple Custom Post Types” with Redirects?
- Pagination not working in custom post type. Help
- Numeric pagination custom post type
- WordPress custom post type taxonomy paging
- WordPress doesn’t respect Page slug in custom post type url pagination. Keeps getting removed
- Add %post_id% to slug of custom post type and prevent the “unique slug” thing that WP does?
- Custom post pagination not working
- CPT/Taxonomy/Postname permalink structure makes pagination break
- How to override post-new.php with custom template
- Pagination in wp-admin for CPT
- Two CPT: one is using part of the custom rewrite slug from the other
- Add pagination to custom page
- Rewrite Endpoint Url without ? before endpoint
- Custom Post Type shows pagination (w/404) or posts_per_page query, but not both
- How Can a CPT in WordPress have a page 2 without an error?
- Remove trailing slash
- Remove sequential number from permalinks
- Custom post type archive pagination with HTML5Blank theme?
- Paginate custom taxonomy category with wp_custom_pagination
- Redirect permalinks after creating custom post types
- Custom post type navigation on static page
- Custom pagination [duplicate]
- Parent cpt/child custom post type URL permalink relationship
- Pagination not working with custom loop
- URL Redirection From Custom Type to Posts
- Pagination not working with custom loop
- WordPress pagination URL
- Menu Structure and URL structure, with Pages and Post-Type-Posts
- Archive pagination – second page shows exactly the same posts
- Two pagination in one page without AJAX