问题原文
原帖链接 · Terry · CC BY-SA 4.0
I used to use only search console and Google analytics for website data. But recently I decided to try out Bing webmaster tools when I heard about Microsoft Clarity.
In the Site explorer, I noticed some strange links that Bing indexed (see the image below). These were peculiar pharmacy spam links created through the site's internal search.
Most of them were not indexed as such links are disallowed in robots, but some actually were indexed, maybe because there is 1 backlink to them, so the disallowed rule was ignored.
The Google's search console doesn't show them at all.
My question one is: Can this hurt the site?
Question two: What else can I do besides the robots.txt rule?
This is a WP site, with the Ivory Search plugin.
I thought of creating a rule in the htaccess file to add "noindex" to the header of such pages, but I am not that savvy to pull it off.
已采纳解答
原帖链接 · Tal · CC BY-SA 4.0
- If it a search engine reaches it, then yes. It can hurt your site.
- You should add the robots meta tag with noindex nofollow and it should be okay.
Google (probably) understands that this is a search results page and therefore ignore it.
In addition to the steps above, I would recommend disavowing those links.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
