admin管理员组

文章数量:1122846

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.

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.

Share Improve this question asked Oct 8, 2020 at 10:02 saravanansaravanan 32 silver badges3 bronze badges 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 Commented Oct 8, 2020 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 Commented Oct 15, 2020 at 11:33
Add a comment  | 

1 Answer 1

Reset to default 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.

本文标签: Htaccess file reset automatically how to fix this issue