You have to modify either before # BEGIN WordPress or after # END WordPress. This part is modified by WP, once you change your permanlink
Related Posts:
- 301 Redirects for Changed Permalink Structure & Category Base
- How do I turn off 301 redirecting posts (not canonical)?
- Passing variables through permalink structure
- htaccess or redirect to cloak portion of a link?
- Auto 301 to full post permalink? (using /posts/%post_id%/%postname%)
- Using WP rather than .htaccess to redirect pages/posts
- .htaccess – Redirect duplicated post ended in ‘-number/’ to the same url without the -number/
- WordPress redirection problem after moving to a new server?
- Specific URL Rewriting with parameters in wordpress
- If I change permalink structures, can I use htaccess to permanantly redirect links?
- Redirect parent taxonomy to it’s child
- Need Help Correct Regular Expression Redirect Code
- Custom Permalink
- Redirect a Blogger Page URL to wordpress
- Redirecting all posts after changing URL structure with htaccess
- Redirect all posts permalinks from “.html” to “/”
- WordPress 4.4 old permalink redirect
- How to use different domains for different blogs hosted in the same host in subdomains with .htaccess
- What causes /pages/ to appear in URI, and how to remove it?
- Some Pemalink problems, probably caused by wrong .htaccess configuration?
- Test site pages go to main site
- Comment author url link is wrong? How to change from authors/ to author/
- change WordPress permalinks and redirect new urls 301
- Custom permalink structure with %postname% in front of domain name
- Configuring Home Page Address
- Can’t access WordPress site in subfolder possibly because of .htaccess redirect from root installation?
- Removed and Reinstalled WordPress, Redirect Broken now
- redirect old pages by .htaccess
- Why are all pages redirecting to homepage when using custom permalinks?
- .htaccess regex for redirect subdomain to root domain & redirect old permalinks
- 404 posts error after 301 redirection of changed category / tag base
- 301 Redirect posts to newly added categories
- Move WordPress to subdirectory, keep ALL URLs
- WordPress permalinks Yahoo hosting(no .htaccess allowed)
- How can I include a query string with get_permalink
- Changing Permalinks to a Custom Permalink causes a 404 Error [no matter what I do]
- custom naming of search permalink /search/
- Rewriting search permalink
- removing index.php IIS 7.5 webconfig
- Rewrite rule never matching
- Redirect user if it’s not logged in
- Random Alphanumeric Key URLs
- Custom url for a single page
- Rewrite-Rules not working on a vhost, everything goes to index.php
- What happens when permalink settings are updated?
- Change of permalink structure – redirects in htaccess breaks the archive links
- Menu links only using http after enabling https, unable to redirect http links
- https multiple redirects
- some url does not redirect from http to https
- How can I make my .htaccess file writeable by wp-admin?
- How to 301 all posts
- WordPress within specific sub-directories, implicitly not root
- 404 with post name permalinks
- Permalinks not working
- WordPress 404 in development area
- List / Get post redirects
- 301 redirection editing .htaccess doesn’t work
- Redirect /%year%/%monthnum%/%day%/%postname% [closed]
- .htaccess 301 redirect conflict with plugin “WordPress Https”
- 301 Redirect for Non-Date Based URL’s
- Passing the JQuery string to Worldpress URL
- An other permalink problem – 404 Error
- WordPress Not Using Template Files After Permalink Update
- Permalinks settings
- WordPress permalink, stop redirection
- How to prevent WP overwriting my custom htaccess rewrites?
- mod-rewrite exception? keep #hash in matching urls?
- .htaccess rewriterule being ignored – tyring to remove dates from WP posts
- Permalink for specific page name
- How to redirect RSS feeds to Feedburner and keep pretty permalinks?
- Strange behavior with a redirect loop – involves WPML multi-language plugin
- Redirecting “wrong” but working links to their canonical URL in order to prevent search engine penalties (e.g. /123/ at the end of URLs)
- WordPress not generating .htaccess but tells me that (Permalink structure updated.)
- Getting an ID from a URL, why can WP do this itself, but none of of the functions provided get it right?
- Ignore postname in permalink
- Permalinks – .htaccess
- What would cause a 500 Server Error with permalinks turned OFF?
- mod-rewrite rules grabs “broken permalinks”, too
- How to redirect old permalinks from https://exmaple.com/category/post_id to https://exmaple.com/category/post_id.html
- Redirect old /%category%/%postname%/ to just /%postname%/
- Understanding Redirects
- why wordpress keeps redirecting to old page after deleting it?
- 301 redirects after changing permalinks
- Change permalink structure with post id
- wordpress admin panel loop on nginx
- WordPress All pages but home simply read “hello”
- Issue with my links or permalinks
- WordPress pages break with custom permalink settings (theme directory not output)
- Fresh wordpress installation in sub-directory not accessible
- Folder Name and Category Name WordPress
- WordPress permalink still not working (error or not understood?)
- customize urls displayed by previous_post_link and next_post_link
- Pagination is not working, how to trace it properly?
- Problem when i configure permalink
- custom permlink .htaccess file 404 Not Found error
- Files placed in directory with wordpress 404
- 404 not found error on WordPress local host
- Add segment to URL in htaccess
- After migration works only first page
- How to use ‘blogs.dir’ as media upload instead of ‘uploads’ directory in WordPress multisite setup