Have you had a look at the rewrite API? Maybe this can solve your problem?
If you use the rewrite API, then you probably should turn of NextGen rewrite function.
Related Posts:
- add_rewrite_rule: $matches var not replaced by captured value
- How to change default page slug?
- Will references to ugly links automatically redirect to their pretty url permalink?
- How do I add a add_rewrite_rule without it redirecting?
- WP Login forms action URLs displayed as pretty URLs in browser (ex with Restore Password)
- Sub domain redirection to taxonomy
- Redirecting all old links from previous EE site to new WP site in one go?
- Server (WordPress) redirects files that are not supposed to (using htaccess)
- Rewrite WordPress Custom URL
- WordPress removes spaces in URL on pagination
- Custom rewrite rule
- Home page with Polylang redirects to other page [closed]
- expecting 404 but redirecting to post with url subdirectory in post title
- Alias ‘wp-content’ directory to something shorter (framework?)
- Is there a ‘rake routes’ for wordpress?
- Remove Query String from URL on Redirect – Redirection Plugin
- add_rewrite_rule fro html to another url not working
- Double domain name in category URL-s
- NextGEN Gallery Lightbox – Social Share URL Redirect
- WordPress redirects non-existing url to existing ones – how to disable
- Rewrite Preview URL to include index.php
- How to disable URL rewriting for specific URLs?
- Can I change default registration link (without htaccess)?
- How do I display only the parent page in the url
- How to remove wordpress directory slash
- Wildcard forward all posts and pages with few exceptions
- Redirect HTTP to HTTPS for all sub domains (blog posts)
- How to redirect large amount of URLs?
- Redirecting /px/?q=x to /px/x/
- URL redirect on updating the post date
- How to redirect a link to a new link?
- Rewrite vs Redirect from ?p={ID}
- 301 Redirect all posts urls from .html to / (without .html)
- Is WordPress API visible from PHP file called in htaccess
- Re-directing URLs with dates to URLs without dates
- Redirect htaccess [closed]
- How to redirect Webp files?
- 301 Rewriting htaccess
- 404 redirect based on url
- How are rewrite rules applied in WordPress?
- WordPress 3.1.2 Network Enabled non-www to www
- Redirect to new domain that serves new and different content
- Redirect users with “.” (dot) in their username and replace with “-” (dash) to correct profile
- Redirect empty search to another page
- Remove part from dynamic url and redirect
- Fresh install redirects to www, breaking page loads
- Broken page redirect
- Make URL like /fr/something display same as /something
- Remove trailing slash
- taxonomy term in URL slug won’t forward to the correct term for custom post like it does for default categories/normal posts
- Error 404 wordpress redirecting URL
- How to create short urls for sharing and downloadable content?
- Redirect A URL Pattern In WordPress Using .htaccess
- URLs ending with number higher than 2147483647 redirects to to domain.com/2147483647
- Migration from old CMS to WordPress 301 redirection rules?
- Changes done to .htaccess are not getting reverted back
- How to change search url produced by ‘s GET method?
- Using .htaccess to redirect /da/ to / in URL
- How to make a category page the blog home page?
- How to prevent redirection to max 2147483647 for larger values of the page query variable?
- how to add prefix to post url structor only
- How do I remove a word from a url in WordPress using .htaccess?
- WP Rewrite the last two parts of the URL
- Change default URL of image attachment
- Access $_POST data after redirect
- Change Query String to pretty permalink
- How to remove WordPress category from URL and have a custom pagination parameter/rewrite?
- Is it possible to rewrite URLs in this situation?
- add_rewrite_rule ignoring other params than the “p” param
- Adding two rewrite rules
- Load an url with minimal/no DB queries
- Login page is redirecting to homepage
- .htaccess rewrite
- Auto generate rewrite rules for multiple taxonomies
- rewrite url for authors
- How to redirect specific URL to Subdomain
- Rewrite query string to path
- map multiple URLs to display home page without changing URL displayed in browser’s location bar
- WordPress Autocorrect URL / Slugs Does Not Work
- Why does my URL rewriting only work using two different methods?
- How do I Redirect a WordPress Page?
- Having WordPress control only certain pages with .htaccess?
- Help with a custom rewrite
- My bbPress rewrite rules aren’t working
- Not able to rewrite the pagination URL for the posts
- forward/redirect taxonomy archive of term to a page with same name
- Using page as front page, why does /page/### work?
- Redirect Problems with Archive Page and GET variables
- WordPress pagination broken for page 2,3 with custom permalink. Redirects to baseurl
- Unable to access the query variables in the template
- Why is there a 404 on page 2+ for my search page?
- URL duplicating after migrating domain
- URL rewrite before template_redirect called
- Custom Post type and Custom taxonomy with URL rewrite worked but template did not
- .htaccess RewriteBase equivalent for WordPress – Passing a URL as a variable without getting a 404
- URL Rewrite for CPT single posts
- Need Help With A Rewrite Issue
- Function to rewrite URl in WordPress
- Can’t get pretty permalinks to work without index.php
- Generated URLs don’t reflect accurate URLs.