> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://support.easystore.co/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# 通过 Google 验证域名

###### 在这篇文章中：
1. [介绍](#1-1)
2. [通过 Google 验证您的网站所有权（使用自定义域名的商店）](#1-2-google)
3. [通过 Google 验证您的网站所有权（无自定义域名的商店）](#1-3-google)
4. [向 Google 提交 sitemap](#1-4-google-sitemap)
5. [要求 Google 重新抓取您的 URL](#1-5-google-url)
---

# 1. 介绍

Google Search Console（以前称为 Google Webmaster Tools ） 是谷歌提供的一项免费服务，可帮助您监控和维护网站在谷歌搜索结果中的存在。

您不必注册 Search Console 就能让您的网站出现在谷歌搜索结果中，但注册 Search Console 可以帮助您了解谷歌如何看待您的网站，并优化其在搜索结果中的表现。如需更深入的 Google Search Console 使用指南，请访问 [Search Console 帮助](https://support.google.com/webmasters)。

在开始使用 Search Console 中的工具之前，您首先需要添加您的网站并验证是否获得授权。

---

# 2. 通过 Google 验证您的网站所有权（使用自定义域名的商店）

**步骤 1 :** 准备好你的网址 :
* 建议您 [激活 EasyStore 提供的免费 SSL 凭证](/zh/article/ssl-1dl2v5d/) 以确保域名安全，并使域名协议变为 **https**。
* 我们建议使用主域名作为网址。您可以在 EasyStore 后台 > 线上网店 > 网域名称 > 已启用域名 > 查看您的主域名。

**步骤 2 :** 到 [Google Search Console](https://search.google.com/search-console/welcome) > 登入您的 Google 账号。 如果您没有 Google 账户，则必须先创建一个账户才能继续。

**步骤 3 :** 点击 **目录 > Add property** > 在 **Domain** 一栏输入您的主域名网址 > Continue.

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/google-search-console_1wf0lhp.gif)

**步骤 4 :** 点 COPY 以复制 TXT 记录。

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/heimer-22_ms8mro.png)

**步骤 5 :** 回到 EasyStore 后台 > 销售渠道 > 线上网店 > 网域名称 > 在 **已注册域名** 点击查看域名。

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/heimer-23_uy6ndj.png)

**步骤 6 :** 向下滚动到底部，点击 + 添加 DNS 记录。

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/heimer-24_9ebmap.png)

**步骤 7 :** 输入以下内容 > 保存。
* **Name**: [留白]
* **Kind**: 选择 TXT
* **Record Data**: 将刚刚复制的 TXT 记录贴在此处

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/image_6q5a0.png)

**步骤 8 :** 回到您的 Google Search Console > 点击 Verify.

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/heimer-25_14smg5u.png)

验证成功后就完成了！

---

# 3. 通过 Google 验证您的网站所有权（无自定义域名的商店）

**步骤 1 :** 如果您的商店没有自定义域名，您可以使用非www .easy.co 域名（如 https://abc.easy.co）作为您的网站地址。

**步骤 2 : ** 到 [Google Search Console](https://search.google.com/search-console/welcome) > 登入您的 Google 账号

**步骤 3 :** 点击 **目录** > **Add property** > 在 **URL prefix** 栏位输入您的网址 > Continue.

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/google-search-console-url-pref_e1xe5t.gif)

**步骤 4 :** 选择 HTML tag 方式并复制 meta tag.

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/html-tag_h2nhfd.gif)

**步骤 5 :** 在 EasyStore 后台 > 安装扩充 > App Store > 搜索 Google Search Console > 安装此扩充。

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/image_rhj3d7.png)

**步骤 6 : ** 将刚刚复制的 meta tag 贴在 **Google Webmaster html tag** 的栏位 : > **Save**.

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/heimer-26_15ig2hv.png)

**步骤 7 : ** 回到您的 Google Search Console > 点击 **Verify**.

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/heimer-27_1giqq54.png)

验证成功后就完成了！

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/image_161k46c.png)

|| 📌 小笔记： 在您的网站通过验证后，我们强烈建议您提交 sitemap，以帮助 Google 抓取您的网站。

---

# 4. 向 Google 提交 sitemap

电子商务网站的 XML sitemap 在以下情况下非常有用：

* 您的网站是新网站，希望出现在搜索结果中

* 您的网站拥有动态页面（新产品或更新产品）

* 您的网站结构复杂或有许多内部链接

网店的 XML sitemap 可方便 Google 在抓取您的网站时找到您的页面。提交网站地图后，谷歌就会知道您网站上有哪些页面可供抓取。向谷歌提交网站地图不是必须的。您的网站仍然可以被收录。

**步骤 1 :** 到 Google Search Console > **Sitemaps** > 输入**sitemap.xml** > Submit.

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/heimer-28_b7hnan.png)

**步骤 2 :** Sitemap 成功提交 > 完成。

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/image_1psfqei.png)

**步骤 3 :** Y您需要等待一段时间才能将其编入索引。处理完成后，您将看到提交的页面数量。

|| 📌 小笔记： 你只需要提交一次 sitemap 即可。

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/heimer-29_13wl2bq.png)

---

# 5. 要求 Google 重新抓取您的 URL

当我们使用 Google 搜索引擎搜索时，Google 会查看其数据库并显示最相关的结果，但并不会搜索整个互联网。如果您最近添加或更改了网站上的某个页面，您可以使用 URL 检查工具要求谷歌重新索引该页面。有关抓取请求的更多 Google 指南，请查看此处。

**步骤 1 : 同样登入到您的 Google Search Console > URL inspection > 将您想要请求索引的 URL 贴在此处。

**步骤 2:** 点击 **Request indexing** 按钮

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/image_prq7m5.png)

**步骤 3 :**  索引请求成功。

**步骤 4 :** 索引可能需要一到两周的时间，您可以点击 Coverage > Last crawl 查看最近的抓取情况。

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/image_hpacfp.png)

这里附上相关 GIF 供您参考：
__
![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/request-indexing_ecs42b.gif)