admin管理员组文章数量:1415460
Yesterday I tried to add some lines of code to my functions.php
and suddenly the whole site throw 403 forbidden error. Both frontend/admin. Asked my hosting provider ( SiteGround ) and they said it is blocked because of security reasons as far as I understood. How can I check for malwares if I can't access my admin panel to install plugin for this. Also downloaded the files on my local server ( I am using LAMP stack on Ubuntu 18 ) and when I try to reach my local domain it redirects me to the site again with 403 forbidden error. What I tried to add as code is :
function test() {
echo "TEST";
}
add_action("test", "test")
After that I have deleted it through FTP. Hope I explained the situtation clearly. If you need more info to give me some advice will provide it immediately. Thank you!
Yesterday I tried to add some lines of code to my functions.php
and suddenly the whole site throw 403 forbidden error. Both frontend/admin. Asked my hosting provider ( SiteGround ) and they said it is blocked because of security reasons as far as I understood. How can I check for malwares if I can't access my admin panel to install plugin for this. Also downloaded the files on my local server ( I am using LAMP stack on Ubuntu 18 ) and when I try to reach my local domain it redirects me to the site again with 403 forbidden error. What I tried to add as code is :
function test() {
echo "TEST";
}
add_action("test", "test")
After that I have deleted it through FTP. Hope I explained the situtation clearly. If you need more info to give me some advice will provide it immediately. Thank you!
Share Improve this question asked Sep 7, 2019 at 10:18 Toma TomovToma Tomov 1033 bronze badges1 Answer
Reset to default 1You need to look at all files via your hosting File Manager (or FTP). Look for any code that shouldn't be there.
See my answer to Coinhive Malware on WordPress websites , of things to check.
And here's the process I use to clean up hacked WP sites: https://securitydawg/recovering-from-a-hacked-wordpress-site/ . Basically: change credentials on everything; look at all file contents for hacked code; reinstall everything from known good/original source; reinstall latest WP; and more.
本文标签: errors403 forbidden access to my whole site
版权声明:本文标题:errors - 403 forbidden access to my whole site 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745177497a2646311.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论