0

Often my WordPress htaccess file was reset am not able to find the root cause of this issue. But I guess this may happen when installing any plugin or manually take a complete backup of the site. Also, I have checked htaccess file permission as well. Please let me know how to fix this issue soon.

Thanks in advance.

2
  • WordPress will reset the code between the # BEGIN WordPress comment markers (unless you actively block this). However, you shouldn’t be manually editing the code in this block anyway.
    – MrWhite
    Oct 8 '20 at 10:20
  • When you say you've checked the permission, checked that it is what? If you don't want WordPress to change it you'll have to remove WordPress's permissions to write to it. Is that what you've done?
    – Rup
    Oct 15 '20 at 11:33
0
  1. Disabling Plugins: This may be due to some plugin. So not only disable plugin, also try deleting folder of the plugin and its files like installer.php (example file) in the uploads folder.

  2. .htaccess File Permission Check for proper file permissions. More over you can check the debug log. If its a live website, just replace .htaccess with the new one.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.