大网数据广告活动
网站运营与故障问答

How to claim ownership of a website in Webmaster tools if that website redirects to another site

· 52CE 我爱测

Ive got an old website that i want to 301 redirect to another website (using .htaccess ). I want to claim ownership of the property in Google Webmaster tools, to do this i usually use the file upload option, the only issue is tha…

问题原文

原帖链接 · sam · CC BY-SA 3.0

Ive got an old website that i want to 301 redirect to another website (using .htaccess). I want to claim ownership of the property in Google Webmaster tools, to do this i usually use the file upload option, the only issue is that if i do this it cant be verified because when google checks for the file, it gets redirected.

The other option is that i set the verification file, tell google to verify, then set the 301, this works, but after a while it seems that google then looks again for the verification, cant find it and thus remarks the site as unverified in the Webmaster tools.

Any ideas how i can get around this ?

已采纳解答

原帖链接 · Andrew Lott · CC BY-SA 3.0

Your best option is probably to verify using DNS. This will work no matter what sort of redirects you have in place. It also doesn't require you to keep up with any special redirect rules.

According to Google's help page, you should:

  1. On the Search Console Home page, click the Manage Site button next to the site you want, and then click Verify this site.
  2. Click the Alternate methods tab.
  3. Select Domain name provider.
  4. Select your domain registrar and follow the instructions on your screen. If your domain registrar isn't listed, select Other, and follow the instructions to manually create a DNS record.
  5. Click Verify. Removing the record from your server can cause your site to become unverified, and you will need to go through the verification process again.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Webmasters Stack Exchange
适用范围
以原帖系统、软件版本与发布日期为准(2015-08-09)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。