我应该放在元标签“ Google-Site-verification”中。作为内容?

发布于 2025-01-27 16:22:20 字数 319 浏览 4 评论 0原文

我想将&lt; meta name =“ Google-site-verification” content =“ ...” /&gt; < /code>添加到我的个人项目中。我已经在Google Search Console中验证了它,它使我粘贴了我在DNS服务器中粘贴它以正确完成此验证的令牌。

现在,我应该将 index.html 作为元标记中的内容属性放入什么?我认为,复制同样的令牌并将其放在content =&lt; tokengivenbygoogle&gt;中是不安全的,但是我应该放置什么?

I want to add the <meta name="google-site-verification" content="..." /> to my personal project. I've already validated it in Google Search Console and it trowed me a token that I pasted it in the DNS server to complete this validation properly.

Now, what should I put in my index.html as a content property in the meta tag? I asume that it's not safe to copy that same token and put it in the content=<TokenGivenByGoogle> but what should I put instead?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

南风起 2025-02-03 16:22:20

正如Google所说,要将此代码复制到您的HTML代码,这样做是安全的。

但是,如果您已经通过DNS验证了您的属性,则不必在HTML中再次进行。

As Google says to copy/paste this code to your HTML code, it is safe to do so.

However, if you already validated your property through DNS, you don't have to do it again in your HTML.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文