That's why first you have to verify your www domain in webmaster tools, after that set up your preferred domain and than you can remove www domain from your webmaster tools admin section. Now you can set your 301 redirect. Your preferred domain is already choosen and you don't need verification any more.
发布评论
评论(2)
这就是为什么首先您必须在网站站长工具中验证您的 www 域,然后设置您的首选域,然后您可以从网站站长工具管理部分中删除 www 域。现在您可以设置 301 重定向。您的首选域已选择,您不再需要验证。
That's why first you have to verify your www domain in webmaster tools, after that set up your preferred domain and than you can remove www domain from your webmaster tools admin section. Now you can set your 301 redirect. Your preferred domain is already choosen and you don't need verification any more.
我刚刚注意到,您可以在 DNS 记录中添加 TXT 条目,并通过这种方式在网站管理员工具中验证域,从而解决了这个问题。
I just noticed that you can add a TXT entry to your DNS record and verify the domain in webmaster tools this way, which solves this problem.