admin管理员组文章数量:1122846
every week my site's every folder has .htaccess when try to open the site it gets a virus error. I remove .htaccess manually from every folder and then the site works. but after a few days, I got the same problem. What should I do to resolve this issue?
every week my site's every folder has .htaccess when try to open the site it gets a virus error. I remove .htaccess manually from every folder and then the site works. but after a few days, I got the same problem. What should I do to resolve this issue?
Share Improve this question asked Aug 20, 2022 at 9:18 Noor AfridiNoor Afridi 11 silver badge1 bronze badge 1- Did you ever resolve this? I am having the same issue on many of my sites. – Chris Cook Commented Apr 21, 2023 at 14:59
1 Answer
Reset to default 0Here are a few steps, even though you have to move in the process towards whatever is necessary.
Step 1: Backup wp-contents folder and the files
Step 2: Backup credentials at wp-config files
Step 3: Find and delete unwanted plugins and theme files, if anything is suspicious.
Step 4: Delete the default WordPress files other than wp-content folder.
Step 5: Reupload those files manually and replace wp-config.php with the previous one, otherwise database connection error will happen.
These are the most common steps to get rid of a virus, depending on the type of script they are using, or the location of of infected file, your steps will differ.
If the attacker has planted a file in the server storage, and you are using a shared hosting, you might need to change your hosting to get rid of it.
Hope this helps.
本文标签: dashboardhtaccess found in every folder
版权声明:本文标题:dashboard - .htaccess found in every folder 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736282424a1926639.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论