问题原文
原帖链接 · user76477 · CC BY-SA 3.0
I have a Wordpress website that is indexing some URLs on Google that seems like my website was hacked.
I've tried:
- Search my host for infected files and folders, but didn't find anything. Both manually and using Wordfence.
- I've installed a fresh Wordpress with a different theme and manually imported the content.
- I've tried to Remove the URL's in Google Search Console, and it kind of work, but it seems that whatever that is generating those URL's just creates a bunch more.
- And finally I did a 301 redirect in my .htaccess
Now I'm changing my host provider, but I'm afraid that it won't help.
Am I missing something?
P.S.: Those pages aren't indexed on other search engines, like Bing. P.S.2: I'm currently in a shared hosting enviroment with no SSH access.
社区高分解答
原帖链接 · Drake · CC BY-SA 3.0
I got the same problem once with a website with an old version of Joomla, the server was safe but the pages were generated by an hack on at PHP level that I was not able to discover fast.
In the end I preferred to delete DB and all files, recover from a valid backup and update everything to latest version.
After that I removed all bad URLs using Google removal tool in Google Search Console and resubmit the website to Google for a check of hacking.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
