![](https://i-blog.csdnimg.cn/blog_migrate/d5eafed80ff8581c675f816f8727bc60.png)
谷歌 console
Google Search Console is a powerful free tool created by Google to help website owners understand how Google sees their website. Unfortunately, most businesses don’t know how to effectively use the full power of Google Search Console to increase their website traffic. In this article, we will show you how to properly use Google Search Console to improve your website SEO and get more visitors.
Google Search Console是Google创建的功能强大的免费工具,可帮助网站所有者了解Google如何看待自己的网站。 不幸的是,大多数企业不知道如何有效地利用Google Search Console的全部功能来增加其网站访问量。 在本文中,我们将向您展示如何正确使用Google Search Console来改善您的网站SEO并吸引更多访问者。
![Google Search Console guide to grow your WordPress website Google Search Console guide to grow your WordPress website](https://i-blog.csdnimg.cn/blog_migrate/5baf3185b1ccf7297bf6eedce171a817.png)
什么是Google Search Console? (What is Google Search Console?)
Google Search Console is a free tool offered by Google to help website owners monitor and maintain their site’s presence in Google search results.
Google Search Console是Google提供的免费工具,可帮助网站所有者监视和维护其网站在Google搜索结果中的存在。
It provides essential marketing data that you need to start tracking from day one. It also alerts you about errors, security issues, and indexing problems that may affect your website’s search rankings.
它提供了从第一天开始就需要跟踪的基本营销数据 。 它还会提醒您有关可能影响网站搜索排名的错误,安全问题和索引编制问题。
You can use all this information in your WordPress SEO strategy to increase your website traffic.
您可以在WordPress SEO策略中使用所有这些信息来增加网站流量。
The sad part is that most businesses don’t utilize the full power of Google Search Console because majority of them think that just adding their website to Google Search Console is enough.
可悲的是,大多数企业没有充分利用Google Search Console的功能,因为大多数企业认为仅将其网站添加到Google Search Console就足够了。
There’s so much more that you can be doing.
您可以做很多事情。
If you’re not leveraging all of the powerful features that Google Search Console offers, then you’re missing out.
如果您没有利用Google Search Console提供的所有强大功能,那么您会错过的。
Luckily, we’re here to help. We have created this ultimate Google Search Console guide to help you grow your website like a Pro.
幸运的是,我们在这里为您提供帮助。 我们创建了此终极Google Search Console指南,以帮助您像Pro一样发展您的网站。
Note: Since this is a comprehensive guide, we have added a table of contents for easier navigation.
注意:由于这是一本全面的指南,因此我们添加了目录,以便于导航。
Setting up Google Search Console
设置Google Search Console
- Adding your website to Google Search Console将您的网站添加到Google Search Console
- Setting up the preferred domain name设置首选域名
- Set your target country设定目标国家
- Adding XML Sitemap添加XML网站地图
- Connect Google Search Console to Google Analytics将Google Search Console连接到Google Analytics(分析)
Fixing Crawling Issues
解决抓取问题
- Finding and fixing search indexing issues查找和解决搜索索引问题
- Fixing 404 errors in Google Search Console修复Google Search Console中的404错误
- Fixing soft 404 errors in Search Console在Search Console中修复软404错误
- Fix server errors in Search Console修复Search Console中的服务器错误
- Finding and fixing security issues查找和解决安全问题
- Fixing manual actions and requesting review修正手动操作并请求审核
Growing Your Website
发展您的网站
- Using Google Search Console to grow traffic使用Google Search Console来增加流量
- Mining keyword data in Google Search Console在Google Search Console中挖掘关键字数据
- Finding low-hanging keywords where you can easily rank寻找容易找到的关键词
- Using keyword data in WordPress for higher rankings在WordPress中使用关键字数据获得更高排名
- Using link reports in Google Search Console在Google Search Console中使用链接报告
- Getting more backlinks from third-party websites从第三方网站获取更多反向链接
- Improving internal linking to boost rankings改善内部链接以提高排名
Useful Google Search Console Tools
有用的Google Search Console工具
- Using structured data tool in Search Console在Search Console中使用结构化数据工具
- Using Google Search Console to improve mobile usability使用Google Search Console改善移动设备的可用性
- Mastering the fetch as Google tool掌握Google抓取工具
- Removing URLs from Google Search从Google搜索删除网址
- Adding users to access Google Search Console添加用户以访问Google Search Console
步骤1.将您的网站添加到Google Search Console (Step 1. Adding Your Website to Google Search Console)
If you haven’t already done so, then you need to go ahead and add your website to Google Search Console. It is really simple and will only take a few minutes.
如果您尚未这样做,则需要继续,然后将您的网站添加到Google Search Console。 这真的很简单,只需几分钟。
Simply go to Google Search Console website and click on the Start Now button.
只需访问Google Search Console网站,然后单击立即开始按钮。
![Google Search Console getting started Google Search Console getting started](https://i-blog.csdnimg.cn/blog_migrate/c70cb94934ad2bf15440705e772e2374.png)
You’ll be asked to sign in using a Google / Gmail account. Once logged in, you will need to enter your website URL.
系统会要求您使用Google / Gmail帐户登录。 登录后,您将需要输入您的网站URL。
![Adding your site to Google Search Console Adding your site to Google Search Console](https://i-blog.csdnimg.cn/blog_migrate/f2f035a6e8a9626f0b5adf6bc5a0a08b.png)
Now, remember 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 make sure that you enter the correct URL of your website.
您需要确保输入正确的网站URL。
If you are unsure, then login to your WordPress admin area and go to Settings » General page. There you will see your website’s URL in the site address field.
如果不确定,请登录WordPress管理区域并转到“设置”»“常规”页面。 在那里,您将在站点地址字段中看到您网站的URL。
![Site address Site address](https://i-blog.csdnimg.cn/blog_migrate/05105d8a9d46c119a2d0fb6997f8d2ec.png)
After entering your website address, click on the ‘Add Property’ button to continue.
输入您的网站地址后,单击“添加属性”按钮以继续。
Next, you will 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标记方法,因为它是最简单的一种。
![Verify your site using the HTML tag Verify your site using the HTML tag](https://i-blog.csdnimg.cn/blog_migrate/6b3963a07b0b8dd8814239a679a26c8a.png)
Click on the HTML tag to expand it and then copy the code inside it.
单击HTML标记以展开它,然后在其中复制代码。
Next, you need to install and activate the Insert Headers and Footers plugin on your WordPress website. For more details, see our step by step guide on how to install a WordPress plugin.
接下来,您需要在WordPress网站上安装并激活“ 插入页眉和页脚”插件。 有关更多详细信息,请参阅有关如何安装WordPress插件的分步指南。
Upon activation, go to Settings » Insert Headers and Footers page and paste the code you copied earlier inside the ‘Scripts in Header’ box.
激活后,转到“设置”»“插入页眉和页脚”页面,然后将您之前复制的代码粘贴到“页眉中的脚本”框中。
![Add HTML tag Add HTML tag](https://i-blog.csdnimg.cn/blog_migrate/0f7404a1410c20361643fa0dda4f473f.png)
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 your ownership of the website Verify your ownership of the website](https://i-blog.csdnimg.cn/blog_migrate/3e02c66fe8ac183e4e532187e1aa8e28.png)
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标记,并向您显示一条成功消息。
![Success message Success message](https://i-blog.csdnimg.cn/blog_migrate/8b93f632b6a1f556090373980ee542bf.png)
That’s all. You have successfully added your site to Google Search Console. You can now click on the ‘Go to Property’ link to visit your Google Search Console dashboard.
就这样。 您已成功将网站添加到Google Search Console。 现在,您可以点击“转到媒体资源”链接来访问您的Google Search Console信息中心。
Note: if Google Search Console cannot verify your website after you have added the code in Insert Headers and Footer plugin, then you need to make sure to clear your WordPress cache and try again.
注意:如果在插入页眉和页脚插件中添加代码后Google Search Console无法验证您的网站,则需要确保清除WordPress缓存并重试。
步骤2.设置首选域名 (Step 2. Setting up the Preferred Domain Name)
Google considers URLs with www and without www as two different pages.
Google将带有www和不带www的URL视为两个不同的页面。
Now let’s suppose you use the https://www.example.com as your URL and someone links to your site as https://example.com, then Google will consider the link going to a different URL (not yours).
现在,假设您使用https://www.example.com作为您的URL,并有人链接到您的网站,作为https://example.com,那么Google将考虑该链接指向另一个URL(而不是您的URL)。
Since you cannot control how people link to your website, this could affect your site’s performance in search results.
由于您无法控制人们链接到您网站的方式,因此这可能会影响您网站在搜索结果中的效果。
The easiest way to fix this is by using the preferred domain setting in Google Search Console.
解决此问题的最简单方法是使用Google Search Console中的首选域设置。
For that, you will need to switch to the older version of the Search Console. Simply click on ‘Go to the old version’ from the left column.
为此,您将需要切换到旧版的Search Console。 只需单击左栏中的“转到旧版本”。
![Switch to the old Google Search Console Switch to the old Google Search Console](https://i-blog.csdnimg.cn/blog_migrate/b605bbd9f71b6d633e18f91bddbad841.png)
Search Console will now load the older version.
Search Console现在将加载旧版本。
To set preferred domain, you need to click on the gear icon and then select ‘Site settings’.
要设置首选域,您需要点击齿轮图标,然后选择“网站设置”。
![Google Search Console site settings Google Search Console site settings](https://i-blog.csdnimg.cn/blog_migrate/17730ea2d928d6f37f44b74609337987.png)
On the next screen, you’ll see three options for the preferred domain. The first option is to not set a preferred domain name which we don’t recommend. Below that, you’ll see your domain with www and without the www prefix.
在下一个屏幕上,您将看到首选域的三个选项。 第一种选择是不设置我们不建议的首选域名。 在此之下,您将看到带有www且没有www前缀的域。
You need to choose one that you used when submitting your site to Google Search Console. Remember this should be the same as the one you see in your WordPress settings page.
您需要选择在将网站提交到Google Search Console时使用的一种。 请记住,这应该与您在WordPress设置页面中看到的相同。
Don’t forget to click on the save button to store your settings.
不要忘记单击保存按钮来存储您的设置。
Google will now use your preferred domain when following your site’s links and when showing it in the search results.
现在,当您跟踪网站的链接并将其显示在搜索结果中时,Google会使用您的首选域。
步骤3.设定目标国家 (Step 3. Set Your Target Country)
If your website is targeting audiences in a specific country, then you can explicitly tell Google to target users in that particular country.
如果您的网站定位到特定国家/地区的受众群体,则可以明确告知Google定位该特定国家/地区的用户。
Go to the old version of Google Search Console, and under the ‘Search Traffic’ menu click on ‘International Targeting’.
转到旧版本的Google Search Console,然后在“搜索流量”菜单下,单击“国际定位”。
![Target country Target country](https://i-blog.csdnimg.cn/blog_migrate/6405fe169bc79382bce381a1ca5340bb.png)
Switch to the ‘Country’ tab and then select the country you want to target.
切换到“国家/地区”标签,然后选择要定位的国家/地区。
Now, choosing a country doesn’t mean that your website will not appear in search results for other countries. If a page is relevant to audiences in other countries, then Google will still show it in the search results.
现在,选择国家/地区并不意味着您的网站将不会出现在其他国家/地区的搜索结果中。 如果页面与其他国家/地区的受众群体相关,则Google仍会在搜索结果中显示该页面。
However, setting the target country helps Google understand your target audience and can potentially give you a slight SEO bump in local search results.
但是,设置目标国家/地区有助于Google了解您的目标受众,并有可能在本地搜索结果中给您带来少许SEO提升。
步骤4.添加XML Sitemap (Step 4. Adding an XML Sitemap)
An XML sitemap is a way for website owners to tell search engines about all the pages that exist on their website. It also tells search engines which links on your website are more important than others.
XML站点地图是网站所有者向搜索引擎告知其网站上所有页面的一种方式。 它还告诉搜索引擎您网站上的哪些链接比其他链接更重要。
Adding an XML sitemap to your website helps search engines better crawl your website. While it doesn’t give you a boost in search rankings, it can definitely help search engines index your content more efficiently.
将XML网站地图添加到您的网站可帮助搜索引擎更好地抓取您的网站。 虽然它并不能提高搜索排名,但可以肯定地帮助搜索引擎更有效地为您的内容编制索引。
All you need to do is install and activate the Yoast SEO plugin. Upon activation, the plugin will automatically generate an XML sitemap for your website, and you can find it at the URL that looks like this:
您需要做的就是安装并激活Yoast SEO插件。 激活后,该插件将自动为您的网站生成一个XML站点地图,您可以在如下所示的URL上找到它:
http://example.com/sitemap_index.xml
http://example.com/sitemap_index.xml
Don’t forget to replace example.com with your own domain name. You can now submit this URL in Google Search Console.
不要忘记用您自己的域名替换example.com。 现在,您可以在Google Search Console中提交此URL。
Under the Google Search Console dashboard, click on the ‘Sitemaps’ from the left column and then paste the last part of the URL.
在Google Search Console仪表板下,单击左列中的“站点地图”,然后粘贴网址的最后一部分。
![Add your sitemap URL Add your sitemap URL](https://i-blog.csdnimg.cn/blog_migrate/3f90ae58570de0477f869954f4b27923.png)
Click on the submit button to save your changes.
单击提交按钮以保存您的更改。
Google Search Console will now check your sitemap and use it to improve your website’s crawling.
Google Search Console现在将检查您的站点地图,并使用它来改善网站的抓取。
步骤5.将Google Search Console连接到Google Analytics(分析) (Step 5. Connect Google Search Console to Google Analytics)
Connecting Google Search Console to your Google Analytics account helps you analyze search console data in Google Analytics. This provides you with a new perspective on your top performing content and keywords.
将Google Search Console连接到您的Google Analytics(分析)帐户可帮助您分析Google Analytics(分析)中的Search Console数据。 这为您提供了效果最佳的内容和关键字的新视角。
If you haven’t already done so, then you will need to install Google Analytics on your WordPress website.
如果您尚未这样做,则需要在WordPress网站上安装Google Analytics(分析) 。
We recommend using MonsterInsights for that. It is the best Google Analytics plugin for WordPress, and it will automatically show your top keywords from Google Search Console in your WordPress admin area.
我们建议为此使用MonsterInsights 。 这是适用于WordPress的最佳Google Analytics(分析)插件,它将自动在WordPress管理区域中显示来自Google Search Console的热门关键字。
![Google Search Console top keywords report Google Search Console top keywords report](https://i-blog.csdnimg.cn/blog_migrate/60d0ac17201d91bb83d51e293d677db9.png)
Now in order to connect Google Search Console to your Analytics account, you need to head over to Google Analytics dashboard for your website. From the bottom left corner of the screen, click on the Admin button.
现在,为了将Google Search Console连接到您的Google Analytics(分析)帐户,您需要转到网站的Google Analytics(分析)信息中心。 在屏幕的左下角,单击管理按钮。
![Switch to Google Analytics Admin view Switch to Google Analytics Admin view](https://i-blog.csdnimg.cn/blog_migrate/fa855f5435358868622b830a314c154d.png)
Google Analytics will now switch to the admin view. From here you need to click on the ‘Property Settings’ section and then click on ‘Adjust Search Console’ button.
Google Analytics(分析)现在将切换到管理员视图。 在这里,您需要单击“属性设置”部分,然后单击“调整Search Console”按钮。
![Adjust search console button Adjust search console button](https://i-blog.csdnimg.cn/blog_migrate/abea03d78b3afd490c2da00a33010241.png)
On the next screen, you need to click on the Add button to select your website.
在下一个屏幕上,您需要单击添加按钮以选择您的网站。
![Add property Add property](https://i-blog.csdnimg.cn/blog_migrate/879089038546a798b533484fc9d99f14.png)
Analytics will now take you to Google Search console website showing you the list of all website you have added to the search console. Select the website you want to link to this Google Analytics property and then click on the save button.
现在,Analytics(分析)会将您带到Google Search Console网站,显示您已添加到Search Console的所有网站的列表。 选择您要链接到此Google Analytics(分析)媒体资源的网站,然后单击“保存”按钮。
![Select your website Select your website](https://i-blog.csdnimg.cn/blog_migrate/d3350117cbebe701fac20f75b2180e27.png)
That’s all, you have successfully connected your Google Search Console data to your Analytics account.
就是这样,您已经成功将Google Search Console数据连接到了Google Analytics(分析)帐户。
You can now view the newly unclocked Search Console reports in your Google Analytics account under Acquisition reports.
现在,您可以在Google Analytics(分析)帐户中的“获取报告”下查看新近恢复的Search Console报告。
![Search console data in Google Analytics reports Search console data in Google Analytics reports](https://i-blog.csdnimg.cn/blog_migrate/45998830655d848b212e094d78cf8ff6.png)
The first report you will find there is the ‘landing pages’ report.
您会发现的第一个报告是“着陆页”报告。
For each landing page, you’ll see the impressions (number of times a page appeared in search results), clicks, click through rate (CTR), and average position in the search results. Combined with that page’s analytics parameters like bounce rate, sessions, and pages per session.
对于每个着陆页,您将看到印象数(页面在搜索结果中出现的次数),点击次数,点击率(CTR)和搜索结果中的平均排名。 结合该页面的分析参数,例如跳出率,会话数和每个会话的页面数。
Clicking a landing page will show you the actual keywords that brought users to this landing page.
单击登录页面将显示将用户带到该登录页面的实际关键字。
![Keywords for each landing page Keywords for each landing page](https://i-blog.csdnimg.cn/blog_migrate/a7e4c3b40932601e062186f97eca1882.png)
Switch to the ‘Countries’ report and you will see countries listed in the same order.
切换到“国家”报告,您将看到以相同顺序列出的国家。
![Countries report for Search Console Countries report for Search Console](https://i-blog.csdnimg.cn/blog_migrate/8917fbf5547d97a91da75fe6e5a418cf.png)
The devices report will show you how your site performed in desktop, mobile, and tablet search results.
设备报告将向您显示您的网站在台式机,移动设备和平板电脑搜索结果中的表现。
![Devices report Devices report](https://i-blog.csdnimg.cn/blog_migrate/635d2d7dc345e464bc73d24b10e6946f.png)
Queries, are the most important of all reports among this data. It shows you the keyword data missing from your Google Analytics reports.
在这些数据中,查询是所有报告中最重要的。 它向您显示Google Analytics(分析)报告中缺少的关键字数据。
![Queries and keywords data Queries and keywords data](https://i-blog.csdnimg.cn/blog_migrate/e58b8abf593ca1ac45904242d76d32dd.png)
步骤6.查找和解决搜索索引问题 (Step 6. Finding and Fixing Search Indexing Issues)
The most useful feature of Google Search Console is that you can troubleshoot indexing errors.
Google Search Console最有用的功能是可以解决索引错误。
These errors can affect your search rankings by stopping the search engine from crawling and indexing the pages on your website.
这些错误可能会阻止搜索引擎对网站上的页面进行爬网和编制索引,从而影响您的搜索排名。
You can easily locate these errors under the Coverage » Index report.
您可以在Coverage»Index报告中轻松找到这些错误。
Index coverage report shows you which pages from your website are indexed by Google and which pages resulted in an error or a warning.
索引覆盖率报告可显示Google将您网站中的哪些页面编入索引,以及哪些页面导致错误或警告。
![Index coverage report in Google Search Console Index coverage report in Google Search Console](https://i-blog.csdnimg.cn/blog_migrate/076e823a44e15287eb9ff283dd3f277e.png)
Scroll down and you will see the detailed list of all the errors. Clicking on a link will open the detailed view where you will also find the link to learn more about the error and how to fix it.
向下滚动,您将看到所有错误的详细列表。 单击链接将打开详细视图,您还将在该链接中找到该链接,以了解有关该错误及其修复方法的更多信息。
![Viewing error details Viewing error details](https://i-blog.csdnimg.cn/blog_migrate/6062ed6e0b953a0509ddb7a8c175793a.png)
Following are a few common indexing errors you may see:
以下是您可能会看到的一些常见索引错误:
- 404 error – This error means that the crawler followed a URL and saw a 404 error.404错误 -此错误表示抓取工具遵循了URL,并看到404错误。
- Soft 404 error – This error occurs when the crawler sees a 404 error page but the page’s status code is sending a 200 (success) message to the browser.软404错误 -当搜寻器看到404错误页面,但该页面的状态代码向浏览器发送200(成功)消息时,就会发生此错误。
- Server error – This means that your website server timed out or didn’t respond. This could happen if your website was under heavy traffic, was under maintenance, or unavailable for any other reason.服务器错误 -这意味着您的网站服务器超时或没有响应。 如果您的网站流量大,正在维护或由于任何其他原因无法访问,则可能会发生这种情况。
- Not followed – This error occurs when Google is not able to follow a content type. This could be a flash, javascript, iframe, or other resources that the crawler is unable to fetch.不遵循 -Google无法遵循内容类型时,会发生此错误。 这可能是Flash,JavaScript,iframe或搜寻器无法获取的其他资源。
Now let’s take a look at how to fix some of these crawl errors.
现在,让我们看一下如何解决某些爬网错误。
在Google Search Console中修复404错误 (Fixing 404 Errors in Google Search Console)
First, you need to keep in mind that not all 404 errors are equal. You can safely ignore some of them and only fix those that are actually an error.
首先,您需要记住并非所有404错误都相等。 您可以放心地忽略其中的一些,而只修复实际上是错误的那些。
For example, if you deleted a blog post and don’t want to redirect users to a newer post, then it is ok to let Google see a 404 error page. Google will eventually deindex that page if it keeps seeing the 404 error.
例如,如果您删除了博客帖子,并且不想将用户重定向到新帖子,那么可以让Google查看404错误页面。 如果Google继续看到404错误,最终将对该页面进行索引删除。
However, the reason Google wants you to look at those 404 errors is that you may not be aware of them. For example, you accidentally deleted something or forgot to redirect users to the new updated version of it.
但是,Google希望您查看这些404错误的原因是,您可能不知道它们。 例如,您不小心删除了某些内容,或者忘记了将用户重定向到新的更新版本。
Simply click on the error in the Index Coverage report, and it will show you all the pages showing that error. Carefully review the pages and if you see a page that shouldn’t be there, then copy its URL and open it in a new browser window.
只需在“索引覆盖率”报告中单击错误,它将显示所有显示该错误的页面。 仔细检查页面,如果看到不应该存在的页面,请复制其URL并在新的浏览器窗口中打开它。
If you see a 404 error page in your browser, then this means that you need to fix this page.
如果在浏览器中看到404错误页面,则意味着您需要修复此页面。
Now if it is a page that no longer exists, but you have a newer or similar version of it, then you would want to redirect users to that page. See our guide on how to set up redirects in WordPress.
现在,如果它是一个不再存在的页面,但是您具有更新或类似的版本,那么您希望将用户重定向到该页面。 请参阅我们的指南, 了解如何在WordPress中设置重定向 。
However, sometimes 404 errors may occur due to a misconfiguration in WordPress permalink structure. To fix this, simply visit Settings » Permalinks and then click on the save changes button without changing anything.
但是,有时会由于WordPress永久链接结构中的错误配置而发生404错误。 要解决此问题,只需访问“设置”»“永久链接” ,然后单击“保存更改”按钮而不更改任何内容。
![Update permalink structure Update permalink structure](https://i-blog.csdnimg.cn/blog_migrate/f44704e8ae7e8d8fbce3b2d2a3d6b147.png)
在Google Search Console中修复Soft 404错误 (Fixing Soft 404 Errors in Google Search Console)
Soft 404 errors are a bit tricky to troubleshoot.
软404错误很难解决。
Basically, these errors occur when Google bot sees what looks like a 404 error document instead of content. However, your server is sending a 200 (success) code. Normally, your server sends 200 success code when a page is displayed without an error or redirect.
基本上,当Google漫游器看到看起来像404错误的文档而不是内容时,就会发生这些错误。 但是,您的服务器正在发送200(成功)代码。 通常,显示页面时没有错误或重定向时,服务器将发送200个成功代码。
![Soft 404 errors in Google Search Console Soft 404 errors in Google Search Console](https://i-blog.csdnimg.cn/blog_migrate/a4cd1b54e279330a97fc2c56d2186c88.png)
Click on the Soft 404 errors in the index coverage report to view the list of pages affected by the error.
单击索引覆盖率报告中的“ Soft 404错误”,以查看受该错误影响的页面列表。
Now you need to open the page in a new browser tab to see what’s happening. If the page displays correctly, then you can safely ignore the error.
现在,您需要在新的浏览器选项卡中打开页面,以查看发生了什么。 如果页面显示正确,则可以安全地忽略该错误。
On the other hand, if the page is showing a 404 error document, then you may want to investigate further.
另一方面,如果页面上显示404错误文档,则您可能需要进一步调查。
Start by switching to the old Google Search Console and then go to Crawl » Fetch as Google page. Enter the URL you want to investigate and then click the fetch button.
首先切换到旧版Google Search Console,然后转到“ 抓取”»“以Google身份获取”页面。 输入您要调查的URL,然后单击“获取”按钮。
![Fetch as Google Fetch as Google](https://i-blog.csdnimg.cn/blog_migrate/2c40689a501d8893734dc3031dd6b546.png)
Search Console will now fetch the URL as Google Bot, and you will see it listed below. Clicking on the URL will open it with the source code view where you will see the HTTP status code at the top.
Search Console现在将以Google Bot的形式获取该网址,您将在下面看到它。 单击该URL将使用源代码视图将其打开,您将在顶部看到HTTP状态代码。
![Status code Status code](https://i-blog.csdnimg.cn/blog_migrate/667a665af0094a89164a2178dc1370c6.png)
Now if you want this page to show a 404 error, then it is not doing that correctly. On the other hand if this page is supposed to show something else, then you need to figure out why it is showing the 404 error document.
现在,如果您希望此页面显示404错误,则说明操作不正确。 另一方面,如果该页面应该显示其他内容,则需要弄清楚为什么它显示404错误文档。
If the soft 404 errors you are seeing are caused by WordPress search function, then the easiest solution is to stop Google bot from crawling search URLs.
如果您看到的404错误是由WordPress搜索功能引起的,那么最简单的解决方案是阻止Google漫游器抓取搜索URL。
To do that you need to add the following lines to your robots.txt file.
为此,您需要在robots.txt文件中添加以下几行。
User-agent: *
Disallow: /?s=
Disallow: /search/
Normally, Google Bot doesn’t crawl search URLs. However, some spammers are trying to spam Google search console reports by linking to search URLs with random strings. This way they hope you will see their link in your Search Console report and click on it.
通常,Google Bot不会抓取搜索网址。 但是,某些垃圾邮件发送者试图通过链接到带有随机字符串的搜索URL来向Google Search Console报告发送垃圾邮件。 他们希望以此方式在Search Console报告中看到其链接,然后单击它。
If the affected URLs are not search queries, then you may want to redirect them to a proper page on your site.
如果受影响的URL不是搜索查询,则您可能希望将它们重定向到网站上的适当页面。
在Google Search Console中修复服务器错误 (Fixing Server Error in Google Search Console)
Server Errors in Google Search Console are caused by a number of reasons. Most common of them is when your server times out during a crawl, throws an unexpected error or does not appear to be online.
Google Search Console中的服务器错误是由多种原因引起的。 其中最常见的是您的服务器在爬网过程中超时,引发意外错误或看上去不在线时。
Use the Fetch as Google Bot tool to make sure that the affected URL is working.
使用Google Bot提取工具来确保受影响的URL正常运行。
If it is working, then you can ignore the error. If you are on a reliable WordPress hosting provider, then most server errors would disappear automatically.
如果正常,则可以忽略该错误。 如果您使用可靠的WordPress托管服务提供商,则大多数服务器错误都会自动消失。
However, if you can confirm the error by visiting the URL, then there are a number of things you can do to fix it. See our list of most common WordPress errors guide to find a fix for the specific error message you are seeing.
但是,如果您可以通过访问URL确认错误,则可以采取许多措施来修复它。 请参阅我们的最常见WordPress错误指南列表,以找到针对您所看到的特定错误消息的修复程序。
步骤7.查找和解决安全问题 (Step 7. Finding and Fixing Security Issues)
![Security issues Security issues](https://i-blog.csdnimg.cn/blog_migrate/5d13d9e617cadcef3d996691af48dffe.png)
Security issues not only stop Google from crawling your website, they could also cause a sudden drop in search traffic. Google may temporarily remove affected pages, show a warning to users, and/or drop a page’s ranking.
安全问题不仅阻止Google抓取您的网站,还可能导致搜索流量突然下降。 Google可能会暂时删除受影响的页面,向用户显示警告和/或降低页面排名。
Security issues will be highlighted on the overview screen as you as login to your Google Search console account. The most common security issue is websites affected by malware and trojans. To fix this, see our guide on how to clean a hacked WordPress website for step by step instructions.
登录到Google Search Console帐户时,安全问题将在概述屏幕上突出显示。 最常见的安全问题是受恶意软件和木马影响的网站。 要解决此问题,请参阅有关如何清理被黑的WordPress网站的指南,以获取逐步说明。
For more details, see our article on how How to fix a website after getting de-indexed by Google.
有关更多详细信息,请参阅我们的文章,关于如何在被Google取消索引后如何修复网站 。
步骤8.查找手动操作并请求审阅 (Step 8. Finding Manual Actions and Requesting Review)
While security issues are automatically triggered, manual actions are the penalties that are imposed by human staff from the Google Search team after a careful review. If a manual action is taken against your website, then this is pretty significant and can immediately take away all your search traffic.
安全问题会自动触发,但是手动操作是经过仔细审核后,Google搜索小组的工作人员会受到的处罚。 如果对您的网站采取了手动操作,那么这非常重要,并且可以立即消除您的所有搜索流量。
These manual actions usually occur when a website is involved in illegal activities, spamming, and other fraudulent or fishy activities.
当网站涉及非法活动,垃圾邮件以及其他欺诈或钓鱼活动时,通常会发生这些手动操作。
![Manual actions Manual actions](https://i-blog.csdnimg.cn/blog_migrate/e3d2cd6f93a24415b1d00d26f72c9596.png)
Clicking on Manual Actions link will show you the actions in your search console report. You will also find detailed information about the issue that triggered it and how to clean it up.
单击“手动操作”链接将在Search Console报告中向您显示操作。 您还将找到有关触发它的问题以及如何清除它的详细信息。
Once you have removed the objectionable content, you can click on the request review button. Your website will be now reviewed and reconsidered by the Google Search team, and they can decide on removing the penalty.
删除令人反感的内容后,您可以点击请求查看按钮。 现在,您的网站将由Google搜索小组审核并重新考虑,他们可以决定取消罚款。
步骤9.使用Google Search Console来增加流量 (Step 9. Using Google Search Console To Grow Traffic)
Now that we have covered the technical bits, let’s get to the fun part of growing your website traffic by utilizing the data available in Search Console.
既然我们已经介绍了技术知识,那么让我们开始利用Search Console中可用的数据来增加网站流量,这是最有趣的部分。
In this section, we will look into keyword data, find out your top performing keywords, and discover hundreds of potential keywords where you can easily rank and get more traffic.
在本节中,我们将研究关键字数据,找出效果最好的关键字,并发现数百个潜在关键字,您可以在其中轻松地排名并获得更多流量。
We will also look at links and how to use them to improve search rankings.
我们还将研究链接以及如何使用它们来提高搜索排名。
Ready? Let’s get started.
准备? 让我们开始吧。
在Google Search Console中挖掘关键字数据 (Mining Keyword Data in Google Search Console)
Keywords are the search terms users type in search engines to find information.
关键字是用户在搜索引擎中键入以查找信息的搜索词。
Marketers and website owners can optimize their content to target desired keywords and improve their chances of appearing on top in search results.
营销人员和网站所有者可以优化其内容,以定位所需的关键字并提高其出现在搜索结果顶部的机会。
Previously, keyword data was available in website stats and analytics reports. Google encrypted that information in 2013 when they switched to HTTPS.
以前,关键字数据可在网站统计信息和分析报告中获得。 当他们切换到HTTPS时,Google于2013年对该信息进行了加密。
While that data is gone from Analytics, it is still available in your Google Search Console reports.
尽管这些数据是从Google Analytics(分析)中删除的,但仍在您的Google Search Console报告中可用。
It gives you a full view of the keywords your website is ranking for, average position, and impressions (number of times your site appears for that keyword).
它为您提供了网站排名的关键字,平均排名和展示次数(网站针对该关键字出现的次数)的完整视图。
You can see this information in your Google Search Console reports under the ‘Performance’ tab.
您可以在“性能”标签下的Google Search Console报告中看到此信息。
![Search Console Performance Search Console Performance](https://i-blog.csdnimg.cn/blog_migrate/70e9ff4666a93a084feab44582ec5aa6.png)
On the top, you will see a graph of your website’s performance in search results. Below that, you will see the keywords data, which you can filter by position, impression, and click-through-rate.
在顶部,您会看到一个网站在搜索结果中的效果图。 在其下,您将看到关键字数据,您可以按排名,展示次数和点击率对其进行过滤。
![Viewing your top keywords in Google Search Console Viewing your top keywords in Google Search Console](https://i-blog.csdnimg.cn/blog_migrate/3d5a9a24ad91bd30a7fbfa3535f0b4c6.png)
You can sort this data by clicking on any column or use the filter option to narrow down the results.
您可以通过单击任何列来对数据进行排序,也可以使用过滤器选项来缩小结果范围。
![Filter keyword data by position Filter keyword data by position](https://i-blog.csdnimg.cn/blog_migrate/57b3852a5d41768c11834b4730e6694a.png)
You can also switch to the Pages tab to see the performance of your pages in search results.
您也可以切换到“页面”标签以查看页面在搜索结果中的效果。
![Pages in search performance Pages in search performance](https://i-blog.csdnimg.cn/blog_migrate/19b188370659ef565c12087a13edc4e7.png)
Clicking on any page in the list will filter the results for that page. You can then switch to the Queries tab to see the keywords bringing the traffic to that particular page.
单击列表中的任何页面将过滤该页面的结果。 然后,您可以切换到“查询”标签,以查看将流量引至该特定页面的关键字。
Ok so now that we have covered how to browse and view this data. Let’s see how to actually use this in your SEO and content planning.
好的,现在我们已经介绍了如何浏览和查看此数据。 让我们看看如何在您的SEO和内容计划中实际使用它。
在容易排名的地方找到低悬的关键字 (Finding Low-hanging Keywords Where You Can Easily Rank)
A lot of your pages may be ranking on page 2 or 3 of the search results for many keywords. These are the keywords that you can easily work on to rank higher and get more traffic.
您的许多页面可能在许多关键字的搜索结果的第2页或第3页上排名。 这些是您可以轻松使用以提高排名并获得更多流量的关键字。
Let’s find out those keywords.
让我们找出那些关键字。
In your Performance report, click on the filter icon and then select Position. You’ll be looking for keywords where the average position is higher than 7.
在效果报告中,单击过滤器图标,然后选择排名。 您将寻找平均排名高于7的关键字。
![Filter by position Filter by position](https://i-blog.csdnimg.cn/blog_migrate/1d0c0f00890d42ed8648020717fb25c5.png)
Click on ‘Done’ to apply the filter.
单击“完成”以应用过滤器。
Search Console will now only show the keywords where your site appears on an average position of 7 or higher. Now, click twice on the position column to sort the list in ascending order.
Search Console现在只会显示您的网站平均排名在7或更高的位置上的关键字。 现在,在位置列上单击两次以按升序对列表进行排序。
![Sort by position Sort by position](https://i-blog.csdnimg.cn/blog_migrate/6be0a022e5de8917b1dbc89ca7b1d043.png)
As you scroll down, you will find tons of keywords that rank between 7 and 30. All these keywords are low hanging fruits where you can easily rank higher.
向下滚动时,您会发现数不胜数的关键字,它们的排名介于7到30之间。所有这些关键字都是低落的果实,您可以在其中轻松排名较高。
To view more results, scroll to the bottom and select a higher number for ‘Rows per page’.
要查看更多结果,请滚动至底部,然后为“每页行数”选择一个更大的数字。
![Rows per page Rows per page](https://i-blog.csdnimg.cn/blog_migrate/deff2c4922017ef9494e182db79e37fe.png)
While choosing the keywords to work on, you would want to choose keywords based on their number of impressions. Higher impressions mean more search traffic for those keywords.
在选择要使用的关键字时,您可能希望根据其印象数来选择关键字。 较高的展示次数意味着这些关键字的搜索量会增加。
To do that, you can export the data in CSV format and then open it in a spreadsheet software.
为此,您可以导出CSV格式的数据,然后在电子表格软件中将其打开。
![Download keyword data Download keyword data](https://i-blog.csdnimg.cn/blog_migrate/c9cf488639e8aca047fe46cd6e97482a.png)
使用WordPress中的关键字数据获得更高排名 (Using The Keyword Data in WordPress for Higher Rankings)
Now that you have mined the low hanging keywords with higher impressions, the question is how do you improve your rankings for those keywords?
既然您已经挖掘出印象深刻的低挂关键字,那么问题是如何提高这些关键字的排名?
Here are some tips to help you improve your rankings for those keywords.
以下是一些技巧,可帮助您提高这些关键字的排名。
1. Improve the content by adding more useful information
1.通过添加更多有用的信息来改善内容
The #1 reason that your page isn’t ranking for a keyword is that Google finds other content more useful. To counter that, you need to review your article or blog post and add as much useful content as possible.
您的网页未按关键字排名的第一原因是Google认为其他内容更有用。 为了解决这个问题,您需要查看您的文章或博客文章,并添加尽可能多的有用内容。
Look at the articles ranking on top five positions for that keyword and cover all the information that your article is missing in more detail.
查看该关键字的前五名中排名最高的文章,并详细介绍您的文章缺少的所有信息。
We are not saying that you should just add more text to it. You need to make it more useful, informative, and comprehensive.
我们并不是说您应该在其中添加更多文本。 您需要使其更有用,更全面。
2. Evaluate on-page SEO
2.评估页面上的SEO
Use Yoast SEO’s analysis tools to improve on-page SEO score for that article. It gives practical tips on improving a page by analyzing the content, keyword density, readability, links, and more.
使用Yoast SEO的分析工具来提高该文章的页面SEO分数。 通过分析内容,关键字密度,可读性,链接等,它提供了改进页面的实用技巧。
![Yoast SEO analysis Yoast SEO analysis](https://i-blog.csdnimg.cn/blog_migrate/20535542409f1b5407ef45b567211f88.png)
3. Increase time users spend on that page
3.增加用户在该页面上花费的时间
Google considers it a success when users click on a search result and spend time viewing it. This means your content needs to be highly engaging and instantly provide users the information they were looking for.
当用户点击搜索结果并花时间查看时,Google认为它是成功的。 这意味着您的内容需要高度吸引人,并立即向用户提供他们正在寻找的信息。
Here are some crazy simple things you can do to increase user engagement.
您可以通过以下一些疯狂的简单操作来增加用户参与度。
- Use images – users find images much easier to look at than text. Adding more images makes it easier for users to scan the information and keeps them engaged. 使用图像–用户发现比文字更容易看的图像。 添加更多图像可以使用户更轻松地扫描信息并使他们保持参与。
- Use videos – Videos are the most engaging form of content available. Adding video to a page significantly increases the time users spend viewing that page. 使用视频–视频是最吸引人的内容形式。 将视频添加到页面会大大增加用户花费在查看该页面上的时间。
- Make text more readable – Use smaller paragraphs, lots of white space, simpler sentences, and keep your style casual and conversational. All these things make reading easier for users. 使文本更具可读性–使用较小的段落,大量的空白,更简单的句子,并保持您的风格随意和对话。 所有这些使用户的阅读更加轻松。
For more tips, see this article on how to increase time users spend on your site.
有关更多提示,请参阅本文, 了解如何增加用户在您的网站上花费的时间 。
步骤10.在Google Search Console中使用链接报告 (Step 10. Using Link Reports in Google Search Console)
Links play an important role in SEO. Search engines use them as a metric to determine how important a page is and where it should rank in search results.
链接在SEO中起着重要作用。 搜索引擎将它们用作度量标准,以确定页面的重要性以及页面在搜索结果中的排名。
The Links report in Google Search helps you see your website’s performance in terms of links.
Google搜索中的链接报告可帮助您根据链接查看网站的效果。
It shows you external links, internal links, top linking sites, and top linking text. More importantly, it shows top linking sites, how often they link to your site, and how many pages they link to.
它显示了外部链接,内部链接,顶部链接站点和顶部链接文本。 更重要的是,它显示了热门链接站点,它们链接到您站点的频率以及链接到多少页面。
![Links reports in Google Search Console Links reports in Google Search Console](https://i-blog.csdnimg.cn/blog_migrate/ea0135c3d13a66df881066cebbda1211.png)
Click on more to expand any of the link reports. You can click on any item to expand and get more detailed results for that particular item.
单击更多以展开任何链接报告。 您可以单击任何项目以展开并获取该特定项目的更详细的结果。
Let’s see how you can use these reports to get more backlinks, improve internal links, and boost your rankings.
让我们看看如何使用这些报告来获得更多的反向链接,改善内部链接并提高排名。
从第三方网站获得更多反向链接 (Getting More Backlinks from Third-Party Websites)
Search console shows third-party websites that have linked to your site in the ‘Top linking sites’ report. Expand the report by clicking on the more link.
Search Console在“热门链接网站”报告中显示已链接到您网站的第三方网站。 通过单击更多链接来展开报告。
![Top linking sites Top linking sites](https://i-blog.csdnimg.cn/blog_migrate/a8bf34598ca28911f71e59108676cd98.png)
Next, click on a domain name to expand the report, and you will see all the pages they have linked to. Now click on each page, and you will get the exact URL where they have linked to that particular page.
接下来,单击域名以展开报告,您将看到他们链接到的所有页面。 现在单击每个页面,您将获得它们链接到该特定页面的确切URL。
![External links pointing to one of your articles External links pointing to one of your articles](https://i-blog.csdnimg.cn/blog_migrate/08fab2c7ccf57a0dbfe0b24ecaa3f146.png)
Here is how you can get more backlinks out of this. Simply visit the website and see how they have linked to you. After that see what other content they have where your site can be linked from.
这是您可以从中获得更多反向链接的方法。 只需访问该网站,看看他们如何链接到您。 之后,查看他们可以链接您网站的其他内容。
Next, simply reach out to the website / author via email or contact form on their website. First, thank them for linking to your article and then politely mention that they may want to include a link to this other article of yours.
接下来,只需通过电子邮件或他们网站上的联系表与网站/作者联系 。 首先,感谢他们链接到您的文章,然后礼貌地提及他们可能希望包括指向您的该文章的链接。
Now, this direct approach may not always work. In that case, you need to be creative. You can offer them to write a guest post for their blog, leave comments on their articles, follow them on social media, or retweet their articles.
现在,这种直接方法可能并不总是有效。 在这种情况下,您需要发挥创造力。 您可以让他们为他们的博客写客座文章,对他们的文章发表评论,在社交媒体上关注他们,或转发他们的文章。
Repeat the process for all important external links on your website. With consistent effort, you can get proper backlinks without spending any money.
对网站上所有重要的外部链接重复此过程。 通过不懈的努力,您无需花费任何资金即可获得正确的反向链接。
改善内部链接以提高排名 (Improving Internal Links to Boost Rankings)
It is harder to get third-party websites to link to your content. However, it is way easier to link to your own content from your own site. This practice is called internal linking.
很难让第三方网站链接到您的内容。 但是,从您自己的站点链接到您自己的内容更容易。 这种做法称为内部链接。
Internal linking helps search engines understand the context and relationships among different pages on your website. It also helps them understand which pages are important based on how often you have linked to them.
内部链接可帮助搜索引擎了解您网站上不同页面之间的上下文和关系。 它还可以根据您链接到他们的频率,帮助他们了解哪些页面很重要。
This is why you should make internal linking a habit when writing new content on your website or blog.
这就是为什么在网站或博客上编写新内容时应养成内部链接习惯的原因。
Now let’s see how to use the links reports in Search Console to help you build internal links.
现在,让我们看看如何使用Search Console中的链接报告来帮助您建立内部链接。
In Google Search Console, click on the Links report and then click on ‘More’ link under ‘Internal Links’ column.
在Google Search Console中,单击“链接”报告,然后单击“内部链接”列下的“更多”链接。
![Viewing links report Viewing links report](https://i-blog.csdnimg.cn/blog_migrate/3b20c286067bd53c391b9621300fbbff.png)
This report shows how often you have linked to other pages on your site. Click on the Filter icon and then select ‘Target page’ option.
此报告显示您链接到站点上其他页面的频率。 单击过滤器图标,然后选择“目标页面”选项。
![Filter links by target page Filter links by target page](https://i-blog.csdnimg.cn/blog_migrate/553ad72656b421ed7a97e6038543a905.png)
Enter the URL of a page you are trying to improve and then click on Done button.
输入您要改进的页面的URL,然后单击“完成”按钮。
Search Console will now show you how many pages are linking to this page. You can click to expand the report to see all the links.
Search Console现在将向您显示有多少页面链接到该页面。 您可以单击以展开报告以查看所有链接。
![Internal links pointing to a specific post Internal links pointing to a specific post](https://i-blog.csdnimg.cn/blog_migrate/00bb8f7c02fa19b9ebcea9158c7de446.png)
As you can see, this article is just linked 5 times and that too probably from the sidebar or archive pages.
如您所见,本文仅链接了5次,也可能来自侧边栏或存档页面。
You can now go ahead and change this by adding internal links to this article from your other top content. Make sure you are only linking to the article when it makes sense. Adding links where they don’t make sense would create a bad user experience.
现在,您可以通过从其他主要内容添加到本文的内部链接来进行更改。 确保仅在有意义时链接到该文章。 在没有意义的地方添加链接会带来糟糕的用户体验。
步骤11.使用结构化数据工具 (Step 11. Using the Structured Data Tool)
Structured Data also known as Schema.org mark up is a set of microdata that you can add to your HTML to help search engines better understand your content. Google uses this data to display rich snippets in search results.
结构化数据(也称为Schema.org标记)是一组微数据,您可以将其添加到HTML中,以帮助搜索引擎更好地理解您的内容。 Google使用此数据在搜索结果中显示丰富的摘要。
![Rich snippets shown in Google Search results Rich snippets shown in Google Search results](https://i-blog.csdnimg.cn/blog_migrate/0235d654134a8726bd033b4f76702cfe.png)
Rich snippets make your page more noticeable in the search results. Currently, Google displays rich snippets data for recipes, reviews, and products.
丰富的摘要使您的页面在搜索结果中更加引人注目。 目前,Google会显示有关食谱,评论和产品的丰富摘要数据。
Many WordPress themes automatically include some basic structured data. If you publish recipes, run a reviews site, or an online store, then rich snippets can give your site an SEO boost.
许多WordPress主题会自动包含一些基本的结构化数据。 如果您发布食谱 ,运行评论网站或在线商店 ,则丰富的摘录可以使您的网站获得SEO提升。
Google provides a rich snippets testing tool, but the structured data testing tool inside Google search console is actually much easier to use.
Google提供了丰富的代码段测试工具,但是Google Search Console中的结构化数据测试工具实际上更易于使用。
Simply switch to the older version of Google Search Console and go to Search Appearance » Structured Data page. It will show you the structured data items found on all your pages and errors that need to be fixed.
只需切换到旧版的Google Search Console,然后转到搜索外观»结构化数据页面。 它将向您显示在所有页面上找到的结构化数据项以及需要修复的错误。
![Structured data Structured data](https://i-blog.csdnimg.cn/blog_migrate/3cd622e9912e6bfa7fc1ce466f8e3f81.png)
The real useful part is that this tool allows you to quickly locate the errors and fix them. Scroll down to the details section and you will see a list of data types and the number of errors Google found.
真正有用的部分是,此工具使您可以快速找到错误并进行修复。 向下滚动到详细信息部分,您将看到数据类型列表以及Google发现的错误数量。
![Schema markup errors Schema markup errors](https://i-blog.csdnimg.cn/blog_migrate/1df2aa3b169655302037ec8084321379.png)
Clicking on the error will show you all the pages where Google found the error.
点击错误会显示Google找到错误的所有页面。
![Missing markup Missing markup](https://i-blog.csdnimg.cn/blog_migrate/35e229f04234bab46757d89841e16bb3.png)
For example, the first row in the screenshot above is showing that one item on that page is missing the author and updated markup.
例如,以上屏幕截图的第一行显示该页面上的一个项目缺少作者和更新的标记。
Clicking on that row will bring up a popup with more details. You will see the markup Google found on that page for that particular entry. As you can see it is missing author and last updated information.
单击该行将弹出一个带有更多详细信息的弹出窗口。 您会在该页面上看到Google在该特定条目上找到的标记。 如您所见,它缺少作者和最后更新的信息。
These are the most common microdata missing in WordPress. Usually, it appears in archive pages where website owners want to skip the details. To fix this, we edited our theme’s functions.php file and added the following code.
这些是WordPress中缺少的最常见的微数据。 通常,它出现在网站所有者希望跳过详细信息的存档页面中。 为了解决这个问题,我们编辑了主题的functions.php文件,并添加了以下代码。
function wpb_entry_meta() {
$time_string = '<time class="entry-date published updated" datetime="%1$s">%2$s</time>';
if ( get_the_time( 'U' ) !== get_the_modified_time( 'U' ) ) {
$time_string = '<time class="entry-date published" datetime="%1$s">%2$s</time><time class="updated" datetime="%3$s">%4$s</time>';
}
$time_string = sprintf( $time_string,
esc_attr( get_the_date( 'c' ) ),
esc_html( get_the_date() ),
esc_attr( get_the_modified_date( 'c' ) ),
esc_html( get_the_modified_date() )
);
$posted_on = sprintf(
/* translators: %s: post date. */
esc_html_x( 'Posted on %s', 'post date', 'design' ),
'' . $time_string . ''
);
$byline = sprintf(
/* translators: %s: post author. */
esc_html_x( 'by %s', 'post author', 'design' ),
'<span class="author vcard">' . esc_html( get_the_author() ) . '</span>'
);
echo '<span class="posted-on">' . $posted_on . '</span><span class="byline"> ' . $byline . '</span>'; // WPCS: XSS OK.
}
endif;
After that, we edited our theme’s other template files that were missing the author and date information for entries. In those template files, we added the following code where we wanted to display the author and date.
之后,我们编辑了主题的其他模板文件,这些文件缺少条目的作者和日期信息。 在这些模板文件中,我们在想要显示作者和日期的位置添加了以下代码。
<?php wpb_entry_meta(); ?>
Now to test if this worked, click on the ‘Test live data’ button and you will see the error disappear.
现在要测试是否可行,单击“测试实时数据”按钮,您将看到错误消失。
![Test live data Test live data](https://i-blog.csdnimg.cn/blog_migrate/2df3b1c62204ad10ce0a90841be42364.png)
Repeat the process to fix all structured data links on your website.
重复该过程以修复网站上的所有结构化数据链接。
步骤12.使用Search Console改善移动可用性 (Step 12. Using Search Console to Improve Mobile Usability)
Nearly 63% of all searches come from mobile devices. That’s why Google gives an SEO bump to mobile-friendly websites in the search results.
所有搜索中将近63%来自移动设备。 这就是Google在搜索结果中为适合移动设备的网站提供SEO奖励的原因。
Google has a Mobile Friendly test tool which allows you to quickly examine a page. The Mobile Usability report in Search Console tells you how Google sees your entire website in terms of mobile performance.
Google有一个“移动友好”测试工具,可让您快速检查页面。 Search Console中的“移动可用性”报告可告诉您Google在移动性能方面如何看待您的整个网站。
![Mobile usability Mobile usability](https://i-blog.csdnimg.cn/blog_migrate/64d9735f45857e3fdf3a4e791b0f6289.png)
If you are seeing errors on this page, then this means that these issues may affect your site’s rankings in mobile search.
如果您在此页面上看到错误,则意味着这些问题可能会影响您的网站在移动搜索中的排名。
You can click on the error and it will show you the affected pages.
您可以单击该错误,它将显示受影响的页面。
Most mobile usability issues are caused by poorly coded WordPress themes or plugins. The easiest way to fix those issues is by using a better responsive WordPress theme.
大多数移动设备可用性问题是由WordPress主题或插件编码错误造成的。 解决这些问题的最简单方法是使用响应更好的WordPress主题 。
步骤13.掌握“以Google身份获取”工具 (Step 13. Master the ‘Fetch as Google’ Tool)
Fetch as Google Tool allows you to quickly fetch any page from your website and see it as Google bot does. This means that you can actually tell Google bot to go fetch a copy of that page and show the HTML code it sees on that page.
Google抓取工具可让您快速从您的网站抓取任何页面,并像Google bot一样看到它。 这意味着您实际上可以告诉Google机器人抓取该页面的副本,并显示它在该页面上看到HTML代码。
Fetch as Google Tool is located under ‘Crawl » Fetch as Google’ menu in old version of the Search Console. This is more convenient and gives you quick access to the tool.
旧版Search Console中的Google抓取方式工具位于“抓取»Google抓取”菜单下。 这更加方便,使您可以快速访问该工具。
![Fetch as Google Fetch as Google](https://i-blog.csdnimg.cn/blog_migrate/e0518c89acd6ee33af93a19596e10151.png)
In the newer version, you will have to go to Index » Coverage and then click on a URL to see the option to fetch it as Google.
在较新的版本中,您必须转到索引»覆盖范围,然后单击URL以查看以Google身份获取该选项。
![Fetch as Google in new Search Console dashboard Fetch as Google in new Search Console dashboard](https://i-blog.csdnimg.cn/blog_migrate/fcee7b59b37d27aab094f011151f1dbb.png)
Once you fetch a URL, you will see it appear with either a success or an error message. If a page is downloaded successfully, then you can click to open its details.
提取网址后,您会看到它显示成功或错误消息。 如果页面下载成功,则可以单击以打开其详细信息。
So what should you be looking for? The most important part of this view is the response code. If it is 200 OK, then this means that Google bot was able to successfully download the page.
那么,您应该寻找什么? 该视图中最重要的部分是响应代码。 如果为200 OK,则表示Google漫游器能够成功下载该页面。
![Response code Response code](https://i-blog.csdnimg.cn/blog_migrate/f0b46dfe2ba87029e42068421204a035.png)
Next, you would want to check the download time at the bottom. If it is higher than 1.5 seconds, then this means your website is slow and Google bot may have difficulty crawling your website during peak traffic. See our guide on how to fix WordPress performance and speed issues.
接下来,您需要在底部检查下载时间。 如果时间超过1.5秒,则说明您的网站运行缓慢,并且Google漫游器可能在高峰流量期间难以抓取您的网站。 请参阅我们的指南,了解如何解决WordPress性能和速度问题。
Lastly, you would want to examine the rest of the code and compare it with the source code you see when you visit your website. You would be looking for differences or anything suspicious / broken.
最后,您需要检查其余代码,并将其与访问网站时看到的源代码进行比较。 您将寻找差异或任何可疑/损坏的东西。
Get any page of your website instantly indexed by Google
获取您的网站上由Google即时索引的任何页面
The most powerful feature of this tool is that you can use it to get a page quickly indexed by Google. This comes particularly handy when you are running a time-sensitive campaign on your website and want to get the search traffic as soon as possible.
该工具最强大的功能是,您可以使用它来使页面快速被Google索引。 当您在网站上运行对时间敏感的广告系列并希望尽快获得搜索流量时,这特别方便。
Simply enter a URL and click fetch button. Once Google bot has downloaded the page, click on the ‘Request Indexing’ button.
只需输入一个URL,然后单击获取按钮。 Google漫游器下载页面后,请点击“请求索引”按钮。
![Request indexing Request indexing](https://i-blog.csdnimg.cn/blog_migrate/beaa62122d17e8aaa02804b3ba4e6753.png)
步骤14.从Google搜索中删除URL (Step 14. Removing URLs from Google Search)
So far we have focused on using Search Console to get indexed and improve rankings in Google Search. However, sometimes you may want to remove content from Google Search as well.
到目前为止,我们专注于使用Search Console在Google搜索中建立索引并提高排名。 但是,有时您可能还希望从Google搜索中删除内容。
Now one way to do this is to add noindex meta tag to the page you want to remove from search results. However, depending on how often Google crawls your website, this could take some time before your page actually disappears from search results.
现在,执行此操作的一种方法是将noindex元标记添加到要从搜索结果中删除的页面。 但是,根据Google抓取您的网站的频率,这可能需要一些时间才能使您的页面实际从搜索结果中消失。
Search Console’s Remove URL tool allows you to request a URL to be removed from the search results. Switch to the older version of Search Console, and you will find it under Google Index » Remove URLs menu.
Search Console的“删除URL”工具可让您请求从搜索结果中删除URL。 Switch to the older version of Search Console, and you will find it under Google Index » Remove URLs menu.
![Remove URL tool Remove URL tool](https://i-blog.csdnimg.cn/blog_migrate/c83f988d712c710283ffd0d13949017e.png)
Now click on the ‘Temporary hide’ button and then enter the URL you want to remove.
Now click on the 'Temporary hide' button and then enter the URL you want to remove.
Note: The Remove URL tool will only hide a page from search results for 90 days. To make it permanent you need to delete the content from your website, so that it gives a 404 error.
Note: The Remove URL tool will only hide a page from search results for 90 days. To make it permanent you need to delete the content from your website, so that it gives a 404 error.
Step 15. Adding Users to Access Google Search Console (Step 15. Adding Users to Access Google Search Console)
If you have a marketing team or you have hired someone to help you with SEO, then those users may need access to Google search console data.
If you have a marketing team or you have hired someone to help you with SEO, then those users may need access to Google search console data.
Search Console allows you to easily add users and give them access to view all reports without sharing your Google account credentials with them.
Search Console allows you to easily add users and give them access to view all reports without sharing your Google account credentials with them.
To add a new user, simply click on the Settings » Users and permissions menu and then click on ‘Add User’ button.
To add a new user, simply click on the Settings » Users and permissions menu and then click on 'Add User' button.
![Add new user to Google Search Console Add new user to Google Search Console](https://i-blog.csdnimg.cn/blog_migrate/ef34072b6571afea7018c3253b71c509.png)
Next, you need to provide the user’s valid Google account email address and select a role for them.
Next, you need to provide the user's valid Google account email address and select a role for them.
![Search console access to new user Search console access to new user](https://i-blog.csdnimg.cn/blog_migrate/e665523d3685467d8724389899441e81.png)
There are two types of permission levels. The full permission level will give them access to everything including the ability to add new users. Restricted permissions will allow them to view the data but not add new users.
There are two types of permission levels. The full permission level will give them access to everything including the ability to add new users. Restricted permissions will allow them to view the data but not add new users.
After choosing a permission level, click on the add button to save your changes.
After choosing a permission level, click on the add button to save your changes.
The user you added will now receive an email notification, so they can login and view Google Search Console data for your website.
The user you added will now receive an email notification, so they can login and view Google Search Console data for your website.
Helpful Resources (Helpful Resources)
Following helpful resources on WPBeginner will help you further improve your website’s performance in search engines.
Following helpful resources on WPBeginner will help you further improve your website's performance in search engines.
- Ultimate WordPress SEO Guide – Our complete step by step WordPress SEO guide will walk you through complete WordPress SEO setup like a pro.Ultimate WordPress SEO Guide – Our complete step by step WordPress SEO guide will walk you through complete WordPress SEO setup like a pro.
- WordPress Performance Guide – Step by step guide to improve your WordPress speed and performance for higher search rankings and better user experience.WordPress Performance Guide – Step by step guide to improve your WordPress speed and performance for higher search rankings and better user experience.
- WordPress Security Guide – Keep your WordPress site secure with this complete WordPress security guide for beginners.WordPress Security Guide – Keep your WordPress site secure with this complete WordPress security guide for beginners.
- Tracking User Engagement – This guide helps you learn how to track user activity on your website and use it to plan your growth strategy.Tracking User Engagement – This guide helps you learn how to track user activity on your website and use it to plan your growth strategy.
- Convert visitors into Customers – If you run an online store, then this guide will show you how to convert search traffic into paying customers.Convert visitors into Customers – If you run an online store, then this guide will show you how to convert search traffic into paying customers.
We hope this article gave you some good tips on using Google Search Console more effectively to grow your site. You may also want to see our expert tips on how to drive traffic to your WordPress site.
We hope this article gave you some good tips on using Google Search Console more effectively to grow your site. You may also want to see our expert tips on how to drive traffic to your WordPress site .
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视频教程。 您也可以在Twitter和Facebook上找到我们。
翻译自: https://www.wpbeginner.com/beginners-guide/google-search-console-ultimate-guide/
谷歌 console