wordpress谷歌字体_如何将WordPress网站添加到Google Search Console

wordpress谷歌字体

One of the most important step in optimizing your WordPress site for SEO is adding it to Google Search Console (formerly Google Webmaster Tools).

为您的SEO优化WordPress网站的最重要步骤之一就是将其添加到Google Search Console(以前称为Google Webmaster Tools)。

Google Search Console offers specific webmaster tools to help website owners monitor and maintain their search presence and rankings.

Google Search Console提供了特定的网站站长工具,可帮助网站所有者监视和维护其搜索状态和排名。

In this guide, we will show you how to easily add and verify your WordPress site in Google Search Console also known as Webmaster Tools.

在本指南中,我们将向您展示如何在Google Search Console(也称为网站站长工具)中轻松添加和验证WordPress网站。

How to easily add your WordPress site to Google Search Console
什么是Google Search Console? (What is Google Search Console?)

Google Search Console is a free tool offered by Google to help website owners monitor their website’s presence in Google search results.

Google Search Console是Google提供的免费工具,可帮助网站所有者监视其网站在Google搜索结果中的存在情况。

It helps you track search rankings along with keeping you updated about site errors, security issues, and indexing issues that may affect your website’s search performance.

它可以帮助您跟踪搜索排名 ,并保持有关可能影响网站搜索性能的网站错误,安全问题和索引编制问题的最新信息。

If you are serious about growing your website, then you need to add it to Google webmaster tools from day one.

如果您认真考虑要发展自己的网站,则需要从第一天起将其添加到Google网站管理员工具中。

That being, let’s take a look at how to easily add your site to Google Search Console.

就是说,让我们来看看如何轻松地将您的网站添加到Google Search Console。

将您的WordPress网站添加到Google Search Console (Adding Your WordPress Site to Google Search Console)

First, you need to visit the Google Search Console website and click on the ‘Start Now’ button.

首先,您需要访问Google Search Console网站,然后单击“立即开始”按钮。

Start Google Search Console

Next, you’ll need to sign in with your Google / Gmail account.

接下来,您需要使用您的Google / Gmail帐户登录。

Once logged in, you’ll be asked to enter your website URL.

登录后,将要求您输入您的网站URL。

There are two methods for site verification: domain name or URL prefix. We recommend the URL prefix method because it is more flexible.

站点验证有两种方法:域名或URL前缀。 我们建议使用URL前缀方法,因为它更灵活。

Add website URL

Keep in mind that Google considers an HTTP and HTTPS as two different protocols. It also considers https://www.example.com and https://example.com as two different websites.

请记住,Google将HTTP和HTTPS视为两个不同的协议。 它还将https://www.example.com和https://example.com视为两个不同的网站。

You need to enter the correct website URL used by WordPress.

您需要输入WordPress使用的正确网站URL。

If you are unsure, then there is an easy way to find out the exact URL you need to enter. Simply login to your WordPress admin area and go to Settings » General page.

如果不确定,那么有一种简单的方法可以找出您需要输入的确切URL。 只需登录到您的WordPress管理区域,然后转到“设置”»“常规”页面。

There you will see your website’s URL in the site address field.

在那里,您将在站点地址字段中看到您网站的URL。

Copy your site address from WordPress settings page

After entering your correct website address in Google webmaster tools setup wizard, click on the ‘Continue’ button to go to the next step.

在Google网站站长工具设置向导中输入正确的网站地址后,点击“继续”按钮转到下一步。

Now, you’ll be asked to verify ownership of your website. There are several ways to do that, but we will show the HTML tag method because it is the easiest one.

现在,将要求您验证网站的所有权。 有几种方法可以做到这一点,但是我们将展示HTML标记方法,因为它是最简单的一种。

Copy the HTML tag

Click on the HTML tag to expand it and then copy the code inside it.

单击HTML标记以展开它,然后在其中复制代码。

Now, you need to add this Google site verification meta tag in WordPress, so Google can verify that you are the owner of the website.

现在,您需要在WordPress中添加此Google网站验证元标记,以便Google可以验证您是该网站的所有者。

Most WordPress tutorials will guide you to just edit the header.php file in your WordPress theme and add the code just above the <body> tag.

大多数WordPress教程将指导您仅编辑WordPress主题中的header.php文件,并将代码添加在<body>标记上方。

However, we don’t recommend this method because if you update or change your theme, then the HTML tag will disappear.

但是,我们不建议您使用此方法,因为如果您更新或更改主题,HTML标记将消失。

Google periodically checks for the HTML tag and will disable your access to the site data in the search console if it cannot find the verification tag.

Google会定期检查HTML标记,如果找不到验证标记,则会在搜索控制台中禁止您访问网站数据。

Here is how to make sure that Google can always verify your ownership of the website.

这是确保Google始终可以验证您对网站所有权的方法。

First, you need to install and activate the Insert Headers and Footers plugin. For more details, see our step by step guide on how to install a WordPress plugin.

首先,您需要安装并激活“ 插入页眉和页脚”插件。 有关更多详细信息,请参阅有关如何安装WordPress插件的分步指南。

Upon activation, go to Settings » Insert Headers and Footers page and paste the Google HTML tag code you copied earlier inside the ‘Scripts in Header’ box.

激活后,转到“设置”»“插入页眉和页脚”页面,然后将您先前复制的Google HTML标记代码粘贴到“页眉中的脚本”框中。

Add HTML verification tag to site header

Don’t forget to click on the ‘Save’ button to store your changes.

不要忘记单击“保存”按钮来存储您的更改。

You can now go back to Google Search Console settings and click on the ‘Verify’ button.

现在,您可以返回Google Search Console设置,然后单击“验证”按钮。

Verify ownership

Google Search Console will now look for the HTML tag in your website code and will show you a success message.

Google Search Console现在将在您的网站代码中寻找HTML标记,并向您显示一条成功消息。

Your website successfully added to Search Console

Note: If you don’t see a success message, then you need to clear your WordPress cache. This will ensure that Google can fetch the latest version of your website.

注意:如果没有看到成功消息,则需要清除WordPress缓存 。 这样可以确保Google可以获取您网站的最新版本。

That’s all. You have successfully added your site to the Google Search Console (Webmaster tools). You can now click on the ‘Go to Property’ link to visit your Google Search Console dashboard.

就这样。 您已成功将网站添加到Google Search Console(网站站长工具)。 现在,您可以点击“转到媒体资源”链接来访问您的Google Search Console信息中心。

Google Search Console dashboard

From here you can see your website’s performance reports and index coverage.

在这里,您可以查看网站的效果报告和索引覆盖率。

Before you do that, let’s tell Google a little bit more about your website. This will help Google crawl your website a bit more efficiently.

在您进行此操作之前,让我们向Google进一步介绍您的网站。 这将帮助Google更加有效地抓取您的网站。

将XML网站地图添加到Google Search Console (Add XML Sitemap to Google Search Console)

An XML sitemap is a file that lists all your website content in XML format, so search engines like Google can easily discover and index your content.

XML网站地图是一个文件,它以XML格式列出您的所有网站内容,因此Google之类的搜索引擎可以轻松地发现您的内容并将其编入索引。

The easiest way to add an XML sitemap to your WordPress website is by installing and activating the Yoast SEO plugin.

将XML网站地图添加到WordPress网站的最简单方法是安装并激活Yoast SEO插件。

Upon activation, go to SEO » General and switch to the ‘Features’ tab. From here, you need to scroll down to the ‘XML Sitemap’ option and make sure that it is turned on.

激活后,转到SEO»常规,然后切换到“功能”标签。 在这里,您需要向下滚动到“ XML Sitemap”选项,并确保将其打开。

XML Sitemap option in Yoast SEO

Next, you need to get the XML sitemap link. Simply click on the question mark icon next to the XML sitemap option, and you will see a link to your XML sitemap.

接下来,您需要获取XML网站地图链接。 只需单击XML站点地图选项旁边的问号图标,您将看到指向XML站点地图的链接。

View your XML sitemap

Clicking on the link will take you to your XML sitemap. From there, you can just copy the URL from your browser’s address bar.

单击该链接将带您到XML网站地图。 从那里,您可以仅从浏览器的地址栏中复制URL。

Copy your XML Sitemap URL

Alternatively, you can directly access your XML sitemap by adding sitemap_index.xml at the end of your website address. For example:

或者,您可以通过在网站地址的末尾添加sitemap_index.xml来直接访问XML网站地图。 例如:

https://www.example.com/sitemap_index.xml

https://www.example.com/sitemap_index.xml

Now that you have XML sitemap ready, let’s help Google find it quickly.

现在您已经准备好XML网站地图,让我们帮助Go​​ogle快速找到它。

Simply switch to the Google Search Console dashboard and click on the Sitemaps menu from the left column.

只需切换到Google Search Console仪表板,然后单击左栏中的Sitemaps菜单。

Add your sitemap URL to Google Search Console

After that, you need to add the last part of your sitemap URL under the ‘Add new sitemap’ section and click the Submit button.

之后,您需要在“添加新站点地图”部分下添加站点地图URL的最后一部分,然后单击“提交”按钮。

Google will now add your sitemap URL to your Google Search Console.

Google现在将您的站点地图URL添加到您的Google Search Console。

That’s all, you have successfully added your website to Google Search Console.

就是这样,您已经成功将网站添加到Google Search Console。

The next step is to learn how to use the treasure trove of information in Google search console to grow your business. We have a complete Google Search Console guide for beginners which shows you how to make the most out of Google Search Console data.

下一步是学习如何使用Google搜索控制台中的信息宝库来发展您的业务。 我们为初学者提供了完整的Google Search Console指南 ,向您展示了如何充分利用Google Search Console数据。

Google Search Console和WordPress常见问题解答 (Google Search Console and WordPress FAQs)

Having helped thousands of readers add and verify their website in Google search console, we have seen just about every question you can think of. Here are the answers to some of the most frequently asked questions.

在帮助成千上万的读者在Google搜索控制台中添加和验证其网站之后,我们几乎看到了您能想到的每个问题。 以下是一些最常见问题的答案。

1. How can I upload a Google HTML verification file to my WordPress blog?

1.如何将Google HTML验证文件上传到我的WordPress博客?

Google Search Console allows few different ways to verify website ownership. In this article, we covered the easiest method which is to use the Google site verification meta tag. However some website owners prefer to upload the HTML file to verify site ownership.

Google Search Console提供了几种验证网站所有权的方法。 在本文中,我们介绍了最简单的方法,即使用Google网站验证元标记。 但是,某些网站所有者更喜欢上载HTML文件以验证网站所有权。

To upload the Google search console HTML verification file to WordPress, you will need to login to your WordPress hosting cPanel or connect to your hosting account using FTP.

要将Google搜索控制台HTML验证文件上传到WordPress,您需要登录WordPress托管 cPanel或使用FTP连接到您的托管帐户。

Next, you need to upload the HTML verification file inside the /public_html/ folder of your website. This is the root directory where you’ll see other WordPress folders like /wp-admin/, /wp-content/, etc.

接下来,您需要在网站的/ public_html /文件夹中上传HTML验证文件。 这是根目录,您将在其中看到其他WordPress文件夹,例如/ wp-admin /,/ wp-content /等。

2. Should I use a Google Site verification plugin for WordPress?

2.我应该为WordPress使用Google网站验证插件吗?

There are many WordPress plugins that are designed specifically to help you with Google site verification. However you don’t need to use them because you’ll likely need to verify ownership on other webmaster tools and platforms like Bing, Yandex, Pinterest, etc.

有许多WordPress插件专门设计用来帮助您进行Google网站验证。 但是,您不需要使用它们,因为您可能需要在其他网站站长工具和平台(例如Bing,Yandex,Pinterest等)上验证所有权。

It’s much better to use the Insert Headers and Footers plugin because it lets you add site verification for all platforms (in a single plugin).

最好使用“插入页眉和页脚”插件,因为它使您可以为所有平台添加站点验证(在单个插件中)。

3. How can I become a power user of Google Search Console?

3.如何成为Google Search Console的高级用户?

Google search console has a lot of useful information that you can use to grow your business. We have created the ultimate Google Search Console guide that you can use to become a power user.

Google搜索控制台提供了许多有用的信息,可用于发展业务。 我们已经创建了最终的Google Search Console指南 ,您可以使用它来成为高级用户。

4. I’m running into problems, is there a Google Search console phone number that I can contact?

4.我遇到问题了,我可以联系一个Google Search Console电话号码吗?

No, there’s no Google search console phone number that you can contact. If you’re running into problems with Google search console, then you can use their online support center. For specific questions about WordPress, you can always join our free WordPress help group to ask your questions.

不,没有您可以联系的Google Search Console电话号码。 如果您在使用Google Search Console时遇到问题,则可以使用其在线支持中心 。 对于有关WordPress的特定问题,您可以随时加入我们的免费WordPress帮助组来提问。

We hope this article helped you learn how to easily add your WordPress site to Google Search Console. You may also want to see our guide on how to get more traffic to your website, and our comparison of the best email marketing services for small business.

我们希望本文能帮助您学习如何轻松地将WordPress网站添加到Google Search Console。 您可能还希望查看我们的指南,该指南如何使您的网站获得更多流量 ,以及我们为小型企业提供最佳电子邮件营销服务的比较。

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

如果您喜欢这篇文章,请订阅我们的YouTube频道 WordPress视频教程。 您也可以在TwitterFacebook上找到我们。

翻译自: https://www.wpbeginner.com/beginners-guide/how-to-add-your-wordpress-site-to-google-webmaster-tools/

wordpress谷歌字体

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值