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
- Next and Previous Posts of Same Parent
- How Can I Change the Custom Post Type Slug to the Taxonomy Slug in the URL?
- Use same slug base for Custom Post Type posts, and multiple taxonomy terms
- How to create custom url structure based on custom post type rewrite slug, taxonomy and category slug?
- Custom rewrite url category
- Rewrite Question Mark in Post Template to Make it Pretty URL
- How can achieve this permalink perfectly? domain.com/%category%/%post-name%
- Index page with the same id as the slug
- Redirect 404 page with ID in slug to associated page with same ID in slug
- How can I make the slug of the taxonomy also the slug of the custom post
- Add Pagination on Custom Post Type Archive
- WordPress custom post type permalink rewrite shows page not found
- Woocommerce search pagination not working
- Custom template Page 2 not working
- Using taxonomy term in CPT permalink – Pages 404’s
- redirect automatic page that serves custom posttype content
- How to add rewrite rule to custom post type with parent in url with cpt ui?
- Custom post type as home page with custom url
- Customize Custom Post Type URL
- How to rewrite url for any specific taxonomy?
- Custom post URL 404 error
- Programmatically rewriting slug through functions.php but returns 404
- How do I change the custom taxonomy slug to be the same as the custom post type slug?
- How do you paginate a query grouped by month?
- URL rewrite add author as base
- How to handle paged param in post and custom-post-type?
- Custom Permalink to remove category word , keeping posts permalink with date?
- Set a CPT slug as a base name for all the taxonomies
- Custom taxonomy rewrite with query var returns %2F in URL
- WP Rewrite Rule Issue while using Custom post type & taxonomy
- Remove slug in URL custom post type
- Custom Permalinks with CPT and Hierarchical Taxonomies
- List all posts in a custom post type with pagination (the correct way)
- Rewrite custom post type url – Multiple post types
- Category with post type pagination returns 404
- Why isn’t my custom post type archive URL translating?
- Custom Post Type and Category Base Rewrite Issue
- Versioned Custom Post Type (Not the same as revisions)
- Rewrites/query for multiple hierarchical custom post types
- WordPress custom post type split into pages
- custom post type pagination error 404
- cpt and page sharing same base permalink
- 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
- Redirect custom post type category to other custom post type category
- Pagination issue on category.php using custom post type query
- Rewrite URL of Custom Post Type for Jobs
- Custom post Type, child of a Page?
- Hide or disallow default custom post type url?
- URL rewriting for CTP assigned entity
- Custom Post Type Pagination Paginates Only in URL Structure
- Post Type rewrite rule to point to custom Page/template
- Custom Permalink Structure for Custom Post Type, Custom Taxonomy, Under a page
- Custom taxonomy returns 404
- Is it possible to to use custom post type types on a page with the same slug somehow?
- WordPress custom post query with pagination
- Including taxonomy term before post type breaks top level pages
- Correct procedure for advanced permalinks
- Custom Post Types hierarchy and rewrite
- Next Post links not working in custom post type shortcode
- CPT’s with landing page instead of archive – Url Rewrite?
- How to get list of taxonomy slugs ordered parents>childs?
- Rewrite rule for Custom Post Type Page as a parent
- Added Custom Post Type and the View Option Doesn’t Work
- Rewrite Endpoints and CPTs – How to use in a plugin
- Permalink structure with custom taxonomies and custom post type like /parent-tax/child-tax/custom-post-type-name (with no base name)
- Custom Theme With Custom Loops
- Querying Custom Post Type, ordering by Custom Taxonomy Pagination Not Working
- Custom Post Types strange pagination problem
- Pagination with custom query, custom search form, single and pages, ajax and no plugins
- Can slugs from posts and custom post types conflict?
- add_rewrite_rule and passing variables for custom post types
- Pretty URLs and custom post types
- Specific routing for CPT
- Ignoring slug capitalization on rewrite rule for custom post type archive page
- Lost of query parameter when using permalink
- Custom post type’s permalink adds the name of the post type before the post name
- Taxonomy in URL
- can these 3 queries be re-written as 1 query?
- Custom taxonomy and post type with same slug
- Custom post type pagination – always return first page
- Some posts from custom post type to subdomains
- Custom permalink with child taxonomy terms
- pagination not working for category.php (custom post types in categories)
- Custom post type pagination 404
- Custom post type archive with page as parent url
- Permalink misbehaving in Custom Post Types