问题原文
原帖链接 · user1551817 · CC BY-SA 3.0
I am trying to verify my website with Google webmaster tools. I have uploaded the Google html file to my webhosting for example.com and that site now says that it is verified.
But the www.example.com version is still saying "not verified".
Google says this: "You may need to verify ownership of both the www and non-www versions of your domain. Because setting a preferred domain impacts both crawling and indexing, we need to ensure that you own both versions. Typically, both versions point to the same physical location, but this is not always the case. Generally, once you have verified one version of the domain, we can easily verify the other using the original verification method. However, if you've removed the file, meta tag, or DNS record, you'll need to repeat the verification steps."
I'm stuck - I'm not sure why the www version is not verified.
已采纳解答
原帖链接 · Michael d · CC BY-SA 3.0
I've had this happen to me as well. I think multiple times actually. I had a site setup as the preferred version of http://example.com. When I tried to switch to http://www.example.com it wouldn't verify ownership. I had the txt file in the root directory but it wouldn't accept it.
I found that I had to delete my site from search console. I then added it again with the www version and search console accepted the verification. The site that I deleted in search console was new so losing the data wasn't that problematic for me. I'm not sure if deletion and reentering causes loss of data or if the data is retained. You may want to look into that first if you decide that this is your best solution.
I think this error is likely due to some kind of a glitch on the webmaster tools' system.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
