【发布时间】:2019-04-01 21:17:25
【问题描述】:
我在 api.website.com 有我的 api,不需要身份验证。
我正在寻找一种方法来禁止 google 索引我的 api。
有办法吗?
我的机器人已经在 api.website.com/robots.txt 但这只会阻止谷歌抓取它。
User-agent: *
Disallow: /
通常的方法是删除 Disallow 并添加一个 noindex 元标记,但它是一个 API,因此没有元标记或任何东西。
还有其他方法吗?
【问题讨论】:
标签: indexing seo meta google-console-developer