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
- How to redirect all HTTP requests to HTTPS
- How does WordPress handle permalinks?
- Setting up WordPress with Custom Permalinks and no .htaccess File?
- Does WordPress Change the .htaccess File When Updating?
- Removing the redirect after changing a page’s slug
- Stop WordPress and Plugins from Overwriting .htaccess
- Move WordPress to subdirectory, keep ALL URLs
- Permalinks to Custom does not work (out of box)
- URL rewrite based on a custom field value
- Force HTTPS using .htaccess – stuck in redirect loop
- WordPress permalinks Yahoo hosting(no .htaccess allowed)
- How can I force WordPress to redirect to canonical permalinks?
- Subdomains to pages
- Redirect old permalinks to new permalinks
- Permalink Issues by Installing WordPress in Subdirectory / Subfolder
- + Character in permalink
- WordPress on a subdirectory of Laravel – WordPress pretty permalinks inner page shows laravel
- How can I include a query string with get_permalink
- Permalink redirection from ‘Day and name’ to ‘Post name’
- How to redirect url requests to https? [closed]
- How to map permalinks with accented letters to sanitized slugs?
- Remove subfolders from URL
- Nicest way to 301 Redirect traffic when changing permalink settings
- Redirect www to non-www htaccess
- Changing Permalinks to a Custom Permalink causes a 404 Error [no matter what I do]
- 302 redirect instead of 301 after switch to HTTPS
- Changing pemalink structure to /%post_id%/%postname%/
- WordPress overrides the GET variables, (page_id) set in HTACCESS
- Redirect short-form URL to long-form URL (post_id to post_id + post_name)
- custom naming of search permalink /search/
- Changing URL from /%postname%/%post_id to /%category%/%postname%/%post_id%
- Using only %postname%
- removed index.php now all pages 404
- Rewriting search permalink
- WordPress on VirtualBox – no pretty permalinks
- removing index.php IIS 7.5 webconfig
- Redirect from https to http or from http to https? [closed]
- Rewrite rule never matching
- wordpress permalinks tweeks
- Getting a 500 internal server error ONLY on wp-admin/options-permalink.php
- Stop redirecting to posts not in a category / duplicate slugs
- WordPress 3.4 Permalinks Redirection Problem
- Redirect user if it’s not logged in
- Random Alphanumeric Key URLs
- Redirect to https not working with .htaccess [closed]
- Redirect old permalinks with Month and name to Post name on new site
- Custom url for a single page
- Rewrite-Rules not working on a vhost, everything goes to index.php
- Does WordPress send a 301 header message when you change permalink structures?
- Top level Pages redirecting to homepage!
- 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
- After moving from subdirectory to home, home page does not display
- https multiple redirects
- WP Site in subdirectory Joomla! Site – Permalinks not working
- some url does not redirect from http to https
- Rewrite my default post URL
- How can I make my .htaccess file writeable by wp-admin?
- How to 301 all posts
- WordPress within specific sub-directories, implicitly not root
- https redirect (with .htaccess) redirect loop
- How to set up htaccess to redirect a particular post type or subdirectory to HTTPS?
- Redirect Loop to Page, Can’t Find Origin, Can’t Remove [closed]
- 404 with post name permalinks
- Get canonical link
- Problems redirecting to “pretty” permalinks (wordpress in Subdirectory)
- .htaccess file missing from WordPress install directory