search console yoast seo fi

How to connect Google Search Console
to Yoast SEO and fix errors

How to connect Google Search Console to Yoast SEO and fix errors

November 29th, 2017 – 19 Comments

In our plugin, you can connect Google Search Console to Yoast SEO. This verifies your website for your Google Search Console account and allows you to view your crawl errors. Especially when you have a large site, the number of crawl errors might scare you. In this post, I’ll explain a bit more about crawl errors and show you how to fix them, using Yoast SEO Premium.

Optimize your site for search & social media and keep it optimized with Yoast SEO Premium »

Yoast SEO: the #1 WordPress SEO plugin Info

What are crawl errors?

Google uses so-called Googlebots to crawl and index your page. Crawling, in layman’s language, is the process of Googlebot going over your pages, one link at a time. When crawling, its goal is to get to every important page on your site by following links on pages, in sitemaps, etc. Indexing, on the other hand, is what Googlebot does to take in all the content on your pages, to include it in its search result pages.

There are two types of crawl errors:

  • Site errors that affect your entire site. Think along the lines of connectivity issues with your web server, and problems fetching your robots.txt file.
  • URL errors that affect a specific page on your website. Googlebot tried to crawl the URL but did not succeed somehow. It was able to resolve your DNS, connect to your server, fetch/read your robots.txt file, and then request the URL. But after that, something went wrong.

Viewing crawl errors in Yoast SEO

In our Yoast SEO plugin (free and paid), you can view the crawl errors that Google came across on your website. All you have to do is connect Google Search Console to Yoast SEO. In our plugin, we guide you through that process. Let me explain the steps here as well.

Connect Google Search Console to Yoast SEO

To connect Google Search Console to the Yoast SEO plugin, all you have to do is navigate to this page in WordPress: SEO › Search Console.
Connect Google Search Console to Yoast SEO

The next step is to connect them. In our plugin, just click the ‘Get Google Authorization Code’ button:Search Console - Yoast SEO

It’ll take you to Google Search Console. There, you’ll be asked to confirm that you want to connect Google Search Console to Yoast SEO and let our plugin view and manage the data for your sites. Click ‘allow’:Search Console - Yoast SEO

Lastly, you’ll get a key to include in our plugin:GSC copy paste code

Now simply copy-paste that code and insert it into the box in our plugin, hit ‘Authenticate.’
Google Search Console pick profile

Choose the profile you’d like to connect and save it. Done! Now, you can continue in the first tab of that same section in our plugin (Desktop). Be sure to check the other tabs as well to find specific crawl errors.Yoast SEO crawl errors

Here, you will find the information we collected from your Google Search Console. In this table, you see the URL that gave an error, the date Google crawled it last, the date when Google detected the error first and the response code Google sent. In the screenshot, all response codes are 404 Not Found.

So, if you connect Google Search Console to Yoast SEO, you will have a great overview of how many crawl errors Google finds on your website. Now, you can go and create redirects for these 404s, or simply change them to 410s if that page is of absolutely no use to you anymore. More on status codes in this article. When you have ‘fixed’ the error, hover over the URL in Yoast SEO and click ‘mark as fixed’.

Is there an easy way to create that redirect?

Yes! There is an easier way to complete this process, and it is called Yoast SEO Premium. Besides a lot of extras that plugin has to offer, it allows you to immediately create your redirect in our plugin:create redirect in Yoast SEO Premium

Simply click ‘Create redirect,’ and, unlike in our free plugin (which will prompt that it’s only featured in our premium plugin), you’ll get this screen:
redirect and fix crawl errors in Yoast SEO

Our plugin will give you the option to create a redirect, or add another status code (301, 302, 307, 410, 451 are all possible). In case of a 301 redirect, like in the example, simply insert the URL you’d like that ‘old’ URL to redirect to. If you want to tell Google Search Console about this fix, simply leave the check ‘Mark as fixed’ as is and hit ‘Create Redirect.’ It’s as simple as that. In tomorrow’s article, we’ll shine a light on the redirects manager.

Now go and connect Google Search Console to Yoast SEO!

I hope this sheds some light on why you want to connect Google Search Console to Yoast SEO. You’ll be able to monitor crawl errors in our free plugin, and for a few bucks a year, our premium plugin will even help you fix them!

If you by any chance have already used this feature in our premium plugin, I’d love for you to share your thoughts and experiences in the comments!

Read more: ‘Which redirect should I use?’ »


19 Responses to How to connect Google Search Console to Yoast SEO and fix errors

  1. Carmen
    By Carmen on 7 December, 2017

    Thank You! Very Great the article :)

  2. Abdul
    By Abdul on 4 December, 2017

    Yoast is the best plugin for WordPress SEO, love it

  3. John-Pierre Cornelissen
    By John-Pierre Cornelissen on 3 December, 2017

    I always connect GSC but never check the Search Console page in the plugin. I find it easier to check directly in GSC for all of my sites. An advantage that the plugin could have, is when it would send an alert email to the WP admin emailadres when a new error is found, because that’s something GSC doesn’t do either. It would save webmasters to go and check for errors every now and then.

  4. Arun Kumar
    By Arun Kumar on 3 December, 2017

    These tips make my day great. In last three weeks, I have XML errors in google search console. All of my posts suddenly lose SEO visibilty. I have installed Yoast SEO premium was clear all error automatically. Now my site very smoothly. Thanks a lot keep it up.Yoast

    • Michiel Heijmans
      By Michiel Heijmans on 3 December, 2017

      Awesome to hear, Arun! Thank you so much for that!

  5. Doc
    By Doc on 2 December, 2017

    I’ve installed the free version of Yoast, tried to verify my website and it never verifies.
    I have the robots text file inactive until we build out.

  6. Jason
    By Jason on 1 December, 2017

    I’m currently working on a staging site. Should all of this be done only after switching over to the actual URL for the site or can it be done before?

  7. mp3
    By mp3 on 1 December, 2017

    I have installed Yoast SEO plugin and verified my website on GSC. Thanks for detailed explanation.

  8. Binosh R
    By Binosh R on 1 December, 2017

    Really helpful tutorial,
    I found an error on the first try, but after reading this article it eased the step to complete and I believes that many errors were fixed after connected with search console

  9. Rogério
    By Rogério on 30 November, 2017

    I followed all the procedures and found the appeal fantastic. No error has been detected so far.
    Once again YOAST giving a show in regards to SEO.

  10. Kees van den Berg
    By Kees van den Berg on 30 November, 2017

    Talking about redirects: in Yoast SEO-Premium (awesome tool by the way !!!) I think it’s (still) not possible to redirect an PDF-File to another PDF-file.

    • Michiel Heijmans
      By Michiel Heijmans on 3 December, 2017

      Why would you do that, Kees? Why not replace the PDF file on the server instead?

  11. Lailasblog
    By Lailasblog on 30 November, 2017

    Most people dont value the searc console section of the yoast, but to be honest, this section have actually helped me find and fix errors on most of my site.
    that search console section can save your website if you pay close attention.

    nice article!

  12. zeb
    By zeb on 30 November, 2017

    I love the redirection method explained in here. I hope the connecting search console lets SEO people to fix their website errors. Thanks for the informative article.

  13. Jenny
    By Jenny on 30 November, 2017

    Amazing writing,
    It sounds like a great thing to fix site errors smartly without doing hard work. Thanks for the post and step by step guide to get things done greatly.

  14. Zia Abdul Azeez
    By Zia Abdul Azeez on 29 November, 2017

    I have installed Yoast SEO plugin and verified my website on GSC. Thanks for detailed explanation, Michiel. Looking forward to more in-depth articles from you. Cheers.


Check out our must read articles about WordPress