You can do rewrites in wordpress by using the add_rewrite_rule()
function.
Please see:
https://codex.wordpress.org/Rewrite_API/add_rewrite_rule
Related Posts:
- Masking wp-content/themes/name/images to just images directory using htaccess
- Passing parameters to a custom page template using clean urls
- How to add custom rewrite rule to .htaccess?
- Use subdomain for certain urls
- Clash of the rewrites
- How do I remove a word from a url in WordPress using .htaccess?
- Hijacking the URL for filtering
- Rewrite rules in .htaccess get overwritten?
- Custom rewrite rules are sending everything to index.php
- custom htaccess rewrite rule for page
- WordPress Rewrite
- Dynamic URL, not a physical page within the database
- unexpected problem in url rewrite
- Redirecting all old links from previous EE site to new WP site in one go?
- Prevent WordPress from automatically correcting URLs
- Two “.htaccess” Files Located in Different Directories?
- WordPress redirection to get url friendly
- Rewrite WordPress Custom URL
- External/non-WP rewrite rule without QSA
- Issue with using .htaccess to redirect feedburner feed
- Custom rewrite rule
- Remove special characters in a URL
- Add query string to url and display it as normal url part /folder/
- Alias ‘wp-content’ directory to something shorter (framework?)
- WordPress .htaccess – route other URLs to another app
- hard flush_rewrite_rules() not regenerating .htaccess
- Rewrite rule to load images from production does nothing
- Cleanup URL for a custom page in wordpress
- WordPress rewrite rules don’t need ^?
- Changing RSS feed URL structure
- How to redirect http://mydomain/blog/blahblah/ to http://mydomain/blahblah/ in wordpress htaccess?
- add_rewrite_rule fro html to another url not working
- Adding rewrite rules directly to .htaccess file
- NextGEN Gallery Lightbox – Social Share URL Redirect
- Url Rewriting a dynamic wordpress page
- Preserve Domain Alias
- Disable Pagination on Pages
- WordPress Redirecting Non Category Pages /page/nnn to their Canonical URLs
- subdirectory install breaking existing links
- .htaccess rewrite
- Change htaccess to redirect to index.php in subfolder
- How to remove wordpress directory slash
- Cannot access wp-admin without trailing slash – .htaccess configuration for WordPress behind a nginx proxy
- Wildcard forward all posts and pages with few exceptions
- “View post” leads to odd URL
- Rewriting “pretty” blog category URL with htaccess / add_rewrite_rule() causes 404 page
- Replace specific middle part of url
- Map secondary domain to other’s virtual subfolder
- Rewriting a subdomain page on one WordPress installation to a parent domain on another
- Redirecting /px/?q=x to /px/x/
- URL redirect on updating the post date
- WordPress keeps writing rewrite rules to .htaccess
- Customise particular RSS permalink
- htaccess rewrite, adding segment to url
- RSS feed rewrite matching wrong rule
- Rewrite vs Redirect from ?p={ID}
- Is WordPress API visible from PHP file called in htaccess
- Having WordPress control only certain pages with .htaccess?
- Help with a custom rewrite
- Redirect htaccess [closed]
- Rewrite specific action url
- force www rewrite if wordpress put in a folder
- 301 Rewriting htaccess
- Overwrite WordPress’s URL rewrite not working
- 404 redirect based on url
- Proper way to set up rewrite with Wp
- How do I make WordPress revise an .htaccess file a certain way?
- Exclude subfolder in WordPress permalink
- WordPress is adding “category” word before my actual category name in url (and this is unsolicited)
- Point 404 pages to homepage
- Rewrite htacess rule doesn’t work
- WordPress pagination broken for page 2,3 with custom permalink. Redirects to baseurl
- Translatepress taxonomy and custom post type root FIX
- WordPress URL redirect and replace ? question mark
- Help with .htaccess setup to hide WordPress Directory
- Multiple permalink with and without category for same post
- Custom Params in URL
- Fresh install redirects to www, breaking page loads
- Rewrite Url using .htaccess or hook
- Rewrite URL to get rid of wp-content etc and change URL
- Rewrite URL for attachments
- How to add gallery slug to attachment url?
- Add ReWrite from Old Pages to WordPress (remove .php)
- Fully mask *all* traces of WordPress installation subdirectory?
- .htaccess RewriteRule to include post type and taxonomy
- Redirect A URL Pattern In WordPress Using .htaccess
- Rewrite Question
- Migration from old CMS to WordPress 301 redirection rules?
- Simple URL rewriting gone wrong
- Stop wordpress to redirecting home page if no page found
- Additional .htaccess rules based on wp page
- What is the proper way to use add_rewrite_rule to remove the (question mark)?
- Changes done to .htaccess are not getting reverted back
- WordPress total posts per page changed and now 404 Http error comes out [closed]
- Can’t get pretty permalinks to work without index.php
- How to redirect a virtual page (e.g. /blog) to the home page?
- How to rename the WordPress wp-login.php running on IIS6?
- Add rewrite endpoint and .htaccess
- Rewrite Page Parameters
- WP-Include rewrite directory