There must be a plugin that is affecting your htaccess file. (It shouldn’t.)
The htaccess WordPress directives are rewritten when you change the permalinks in Settings. (Which is a good way to get them back if they aren’t there.)
I’d do a text search of all plugin’s code for ‘htaccess’. Once you find the offending plugin, you might consider entering an issue on that plugin’s support forum.
Related Posts:
- remove “index.php” from permalinks
- URL Rewrite + Page + Custom Post Type = Unusual Redirect
- WordPress on a subdirectory of Laravel – WordPress pretty permalinks inner page shows laravel
- Remove subfolders from URL
- flexible rewrite ‘ramble’ URLs with WordPress
- Custom rewrite rules for feeds of custom queries (query_var query strings in URL)?
- Rewrite rule never matching
- How to Modify Existing Rewrite Rules?
- custom permalink/shortlink with base62 encoded post ID
- Permalinks: Page Not Found
- Custom Permalink
- How do I add /blog/ as a prefix to permalink structure for posts, categories & tags?
- Redirect Uploads Folder to Query Vars in WordPress
- URL rewriting: removing the site’s basename for a specific category
- mod-rewrite exception? keep #hash in matching urls?
- Getting back a permalink from custom url
- Multiple Taxonomy Items for Separate URLs
- .htaccess to redirect to a wp page
- Using a template file for a specific custom URL
- Added a prefix in URL permalink structure but the old structure still working!
- How to change the URL using rewrite rule in wordpress
- No Ones Been Able to Override my WordPress Rewrite Rule Issue!
- a way to support totally different url structure
- Remove/hide a specify category-name from the url
- When using number in url it is redircting to same page but when using character it redirects to 404
- Need help with add_rewrite_rule
- Stop WordPress appending `-2` to the end of my url after i change it
- Get current URL (permalink) without /page/{pagenum}/
- How to get pretty URLs with add_query_arg in permalinks
- Custom post type permalink endpoint
- Permalinks to Custom does not work (out of box)
- why does anchor name add a slash to url?
- Permalink Issues by Installing WordPress in Subdirectory / Subfolder
- How to create a permalink structure for posts in a specific category
- How to make draft posts or posts in review accessible via full url / slug?
- How to map permalinks with accented letters to sanitized slugs?
- Using two permalinks for one post
- How to increase the character limit for post name of 200?
- Changing URL from /%postname%/%post_id to /%category%/%postname%/%post_id%
- Rewrite url / permalink for default archive – yearly / monthly
- removed index.php now all pages 404
- Child pages with same slug
- Permalinks, Rewrites, Get Variables, Oh My!
- WP Site in subdirectory Joomla! Site – Permalinks not working
- Rewrite my default post URL
- When is it a good idea to build a permalink structure from scratch?
- How to reset canonical URLs / fix redirect loop
- How to protect htaccess so it can’t be overwritten?
- How to show the homepage on a different url, like site.com/blog instead of site.com?
- Changed permalink structure. Need help with redirecting old posts
- wordpress api using rest_route for other pages
- Permalinks settings page blank
- how to add rewrite rule to wordpress default post type
- Remove custom taxonomy base from URL
- Only default permalink is working mod_rewrite enabled
- Is a permastruct possible on pages?
- Rewrite rule for a query string
- WordPress Sub domain
- How can i have a custom post type with more slugs for each post?
- WordPress url ingore permalinks setting [closed]
- Custom permalink for specific category
- Redirect all posts permalinks from “.html” to “/”
- Rewrite URLs for LeadPages due to subdirectory installation
- Permalink structure between 2 custom post types and a taxonomy
- display dynamic content based on url slug on custom page
- How to generate a list of all urls
- How to use all tags in post permalinks
- Custom rewrite rule ignored
- Redirect to another page using contact form 7? [closed]
- Unique one time use URL
- Remove some rewrite rules in wordpress
- Remove parent page from url
- Test site pages go to main site
- Strange behavior: random HTTP error 500 fixed by visiting Permalinks settings page (htaccess issue with language code)
- how to prefer static page if it exists over wordpress page
- add_rewrite_rule – Page Slug from “/foo-bar/” to “/foo/bar/”
- Add custom query vars to pretty permalinks
- Why will Pretty URLs not Work?
- Rewrite rule not passing variable
- Custom permalink structure only saves with index.php inserted
- How to remove slug from front page?
- Adding custom query var to a single post without redirecting to its root slug
- WordPress keeps removing query var from the URL
- Fire a code when permalinks updated
- Flush rewrite rules with scheduled event (cron)
- Multiple URL rewrite rules and get every prams
- All files in public_html, Cannot launch WordPress site via wp-admin
- Extra url paths as variable
- Passing parameter through permalink structure
- Add slug to default post permalinks ONLY
- My permalinks for all pages and posts now include old page titles as parents/categories
- WordPress Pagination Custom Rewrite Rule for Pages
- How to change URL of my pages?
- Removing or hiding slug/permalink from htaccess
- rewrites and custom links in page need help with add_rewrite_rule
- Using a taxonomy value as part of a post URL
- How do you put your own rules into .htaccess?
- How to get the perfect WordPress, WooCommerce, Custom Post Type pretty permalinks?
- WordPress keep redirecting me to random URLs
- Use .htaccess to redirect homepage to its permalink