The redirect_canonical
filter is responsible for this, which you can selectively disable depending on the requested page. This is untested, but should work:
function wpa66273_disable_canonical_redirect( $query ) {
if( 'design-jobs' == $query->query_vars['pagename'] )
remove_filter( 'template_redirect', 'redirect_canonical' );
}
add_action( 'parse_query', 'wpa66273_disable_canonical_redirect' );
Related Posts:
- Change the “page” slug in pagination
- Problem with add_rewrite_rule and pagination (paged and page query_vars)
- Remove “/page/1” from the URL
- Disable Pagination on Pages
- Changed pagination URLS to use p= instead of paged=
- Adding a rewrite rule to page that has no fixed variables and pagination
- Why is a rewrite rule in wordpress prevent pagination?
- Wrong rewrite rules
- How do you create a “virtual” page in WordPress
- Understanding add_rewrite_rule
- generate_rewrite_rules (action) vs add_rewrite_rule (function): which one is preferred?
- Rewrite Rules for Multiple (more than 2) Taxonomies
- add_rewrite_rule not loading correct page nor getting variables
- How do I add a add_rewrite_rule without it redirecting?
- Taxonomy rewrite question
- Getting add_rewrite_rule and add_rewrite_tag to work
- Blog installed in subdirectory but need to create pages in root. How to use permalinks?
- Rewrite Rule for Custom Page with Query Vars in URL
- Dynamic URL, not a physical page within the database
- add_rewrite_rule and pagination issue
- Nginx rewrite rule conflict with WordPress permalinks rule
- How to add a custom redirect rule for subdomains?
- How to remove WordPress category from URL and have a custom pagination parameter/rewrite?
- Regionalised Content
- Add ‘articles’ prefix before blog posts url without affecting pagination
- How to do Basic URL Rewrite Without Redirecting
- URL Rewrite doesn’t work for nested pages
- Plugin action rewrite rule – non_wp_rules
- Map alt domain to specific section of website w/o MU
- Have two different URLs show the homepage
- Using category slug in add_rewrite rule
- Url Rewriting a dynamic wordpress page
- How to catch Rewrite rules then display a specific post?
- Adding two rewrite rules
- WP is ignoring .htaccess rewritten URL
- Rewrite ugly URL to clean URL
- Change pagination url format
- Rewrite: WordPress URL rewrite on Search
- Rewriting “pretty” blog category URL with htaccess / add_rewrite_rule() causes 404 page
- Custom rewrite causes 404 on pagination
- WPML language switcher for custom rewrite rules
- Taxonomy Pagination Rewrite
- How to write Rewrite rule for same path using Rewrite API?
- Multiple query vars sorting combination and url rewrite
- WordPress keeps writing rewrite rules to .htaccess
- Custom rewrite after the default term link URL
- Flush rewrite rules on option update with Settings API
- Requested URL changes when using custom rewrite rule
- How can I reduce the number of rewrite rules?
- Capturing /page-name/[0-99999] in both template and number
- Redirect old query string urls to new SEO urls
- custom wordpress rewrite
- Keep requested/entered url with add_rewrite_rule
- Get wordpress installation folder
- Bilingual WP site: How to achieve different URL sturcture rule based on its language?
- How can I create custom URL routes?
- Create custom url which executes code (not render render a WordPress entity)?
- Rewrite author URL to example.com/u/{user_id}/{username}/
- Rewrite specific action url
- Using URL rewrite to add custom URL for custom post type
- Rewrite Rule for homepage not working correctly
- Adding Rewrite URL for Base + Children Separately
- How to change the displayed URL?
- wordpress path generation from rewrite rule
- add_rewrite_rule() issue with parent/child/child page
- Rewrite only if no other matching page is found
- How can I add a vanity URL for admin-ajax.php Calls?
- Remove part from dynamic url and redirect
- Rewrite rule can’t get the ID from rewrited
- Pretty URL via Rewrite
- URL rewrite problem in WordPress plugin
- WordPress numeric (yearly) page names / disable yearly archives
- Usw add_rewrite_rule to display frontpage on specific page
- “SAVE PERMALINKS” does more than FLUSH_REWRITE_RULES?
- Rewriting URL with child pages
- Paging not working for hierarchical custom post type
- Pagination appearing twice in URL after rewrite
- Need help with custom rewrite rule
- Rewrite rules goes away
- WordPress doesn’t remember my custom rewrite rule
- Custom urls in WordPress involving page slugs
- how to change some of the rules in the database
- Rewriting URLs with query strings and preserving them
- get_permalink is getting old rewrite rule
- Rewrite URL based on form input
- Custom Rewrite for Profiles
- Pagination posts. Url format
- Rewriting WordPress URLs
- What is the proper way to use add_rewrite_rule to remove the (question mark)?
- Custom Rewrite Problem
- WordPress post-type create url rewriting
- help with rewrite_tag and rewrite_rule for custom page GET variables [duplicate]
- Programmatically add a custom url route “/category/index.json” to return a collection of posts in json
- Rewrite rule to simulate page hierarchy results in 404
- Rewrite URLs in a Custom Post Type with Multiple Taxonomies
- Rewrite rule giving 404 error
- WordPress picks a wrong template if ?cat= is used as URL parameter
- WP-Include rewrite directory
- WordPress is adding pagination for all pages like www.example.com/page/123. How to remove that?
- How to combine nearly identical custom rewrite rules for WordPress