有人能告诉我在html中使用(nofollow&noimageindex)metatag吗?

问题描述 投票:-1回答:1

有人能告诉我在html中使用(nofollow&noimageindex)metatag吗?比如,他们具体做什么?

html meta-tags
1个回答
1
投票

<meta name="robots" content="noindex, nofollow, noimageindex">

这只是抓取机器人(如Google的机器人)的信息,不应该抓取此页面。所以它不会出现在Google搜索结果中。

nofollow表示不应该从其他页面重定向此页面。假设你有index.php,它有:

<a href='nofollowedpage.php'>link</a>nofollowedpage.php有nofollow的meta。所以机器人只需点击该链接,但当它与nofollow看到meta时,他将退出并忘记这个网站。它的工作方式类似于:

<a href='nofollowedpage.php' rel='nofollow'>link</a>

noimageindex - 此标记将阻止从您网站或该网页上的外部网站索引图像。

© www.soinside.com 2019 - 2024. All rights reserved.