大网数据广告活动
网站运营与故障问答

Google search keeps indexing hacked URLs

· 52CE 我爱测

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 i…

问题原文

原帖链接 · 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:

  1. Search my host for infected files and folders, but didn't find anything. Both manually and using Wordfence.
  2. I've installed a fresh Wordpress with a different theme and manually imported the content.
  3. 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.
  4. 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.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Webmasters Stack Exchange
适用范围
以原帖系统、软件版本与发布日期为准(2017-03-29)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。