From doing some research, I’d recommend trying out this plugin: Redirection. This plugin allows you to manage 301 redirections.
I played around with the settings and they allows regular expressions which could do the following:
http://some.site/hashtag?tag=some-tag/
to http://some.site/tags/some-tag/
They provide documentation on how to set it up which can be found here. This is what I’ve done when creating the rule, try this:
- Source URL:
/hashtag?tag=(.*)/
- Target URL:
/tags/(.*)
I was testing this out on a local copy of WordPress and I don’t have anything right now that gives me those URL structures. Let me know if that works for you on your end. Again, you can play around with the regular expressions to get it right.
Related Posts:
- How to prevent automatic redirection of 404 errors and “incorrect” URLs?
- Disable WordPress URL auto complete
- Redirect user to original url after login?
- WordPress redirecting connections on port 8080 to 80
- Disable ONLY URL auto complete, not the whole canonical URL system
- User redirect to destination URL after login
- How to configure nginx to redirect requests to the uploads directory to the production server?
- Redirecting WordPress /.htaccess / HSTS / SSL
- Why does WordPress automatically redirect URLs with the parameter “name=” to a different page?
- Stop unwanted WP redirection to new url
- How does WordPress redirect to WooCommerce shop page? [closed]
- WP redirects all pages from new domain to old domain
- WordPress redirect loop on nginx + apache reverse proxy
- Does WordPress automatically redirect url without parent slug?
- 302 redirect to signup with nginx reverse proxy
- How to redirect visitor to a custom URL using PHP code in functions.php
- Redirect home to another page with htaccess
- Infinite loop behind SSL proxy on non-standard port
- Why does wp_redirect strip out %0A (url encoded new line character) and how do I make it stop?
- How to redirect URL with subfolder to the same URL but without subfolder?
- How to redirect a page into file?
- How to redirect after login getting a variable from url (for example with the language)
- How can I replace my primary url globally with a parked one?
- URL redirect problem
- Adding rewrite rule dynamically for search results redirecting to 404 URL
- How to redirect to clean links with this code
- I get redirected too many times only in wp-admin?
- reducing number of URL Redirects and increasing speed
- URL masking of subdomain to main domain using .htaccess
- Disable WordPress URL auto complete
- Redirect user to original url after login?
- Blog has an infinite redirect loop
- Redirect non existing page to frontpage
- store URL global before we redirect
- WP_List_table with form of method=GET redirects to wrong url after submit
- Redirect old URL (with different post ID) to new URL
- How to fix automatic redirects?
- My redirect URL doesn’t show any pages on my website [closed]
- Preventing Canonical Redirect for CDN
- URL redirection
- 301 Redirect Loop www to non-www – Nginx + Apache2
- URL redirect regular expressions redirecting all after first viriable
- Disable WordPress URL auto Redirect
- How to get user details by name
- Redirect only PDFs in different folders?
- How to disable WordPress URL autocomplete / recognition?
- using wp_rewrite but keep the original url in the address bar
- I’ve move my site but URL still goes to the old site
- I have cloudflare flexible enabled, How to redirect to https for Nginx server
- Redirect based on $_GET parameters
- How to block direct access to files upload in edd folder
- International characters in slugs to redirect to
- Rewrite rule for incoming urls
- URL Custom Rewrite
- How to handle expired assets/content when user has direct URL
- How to change Ugly link?
- Redirect ignore last URL segment
- My Pages Have Been Redirected Automatically in WordPress. How to Stop It?
- PHP header(Location: …): Force URL change in address bar
- What does HTTP/1.1 302 mean exactly?
- php refresh current page?
- How to force a 404 on WordPress
- Disable front end to use as CMS only?
- Redirect Restricted Page to 404
- How to redirect non-logged in users to a specific page?
- How do I skip wordpress’s 404 handling and redirect all 404 errors for static files to 404.html?
- Host the wp-admin on another domain?
- When I change slug, will WordPress create redirect from the old URL?
- WordPress localhost site redirect to live site
- WordPress Redirect All HTTP requests to HTTPS via .htaccess
- wp_redirect() function is not working
- Redirect entire website to a single page
- My wordpress multisite homepage redirects to signup page
- Logout redirect to home page
- Redirect Localhost wordpress site to dashboard
- Redirect page URL to home URL without using a plugin
- Why is WordPress redirecting from http to https on a local environment?
- Login redirect to previous page
- How to prevent redirect to ‘About’ after core upgrade?
- 301 redirect instead of 404 when URL is a prefix of a post or page name?
- Why is wp_redirect() preferable to a standard PHP header redirect?
- How do I programmatically generate a 404?
- Redirect to referring page after logging in
- Catch 404 after changing permalink structure from /%postname%/ to /%category%/%postname%/
- Prevent access to single post types
- check first time login only
- How to change the default logout link on WordPress Admin
- Stop WordPress from “guessing” redirects for nonexistent URLs
- Changing attachment urls?
- WordPress install enters an infinite loop
- How to redirect a sucessful registration to a page template?
- Creating 301 Redirects for Post, Page, Category and Image URLs?
- WordPress HTTPS redirect loop
- Why am I getting a 301 on a existing post?
- Redirect to dashboard after login
- Make a video post redirect to next post after completion
- Old blog/ and blog/feed/ URLs not working after moving blog to top-level via .htaccess
- Non-WordPress page in subdirectory under WordPress page
- Force HTTPS using .htaccess – stuck in redirect loop
- How to redirect after login, the working way?