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

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 for synonyms and related keywords and prevent broken pages on your site 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
    Carmen  • 10 months ago

    Thank You! Very Great the article :)

  2. Abdul
    Abdul  • 10 months ago

    Yoast is the best plugin for WordPress SEO, love it

  3. John-Pierre Cornelissen
    John-Pierre Cornelissen  • 10 months ago

    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
    Arun Kumar  • 10 months ago

    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

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

  5. Doc
    Doc  • 10 months ago

    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
    Jason  • 10 months ago

    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
    mp3  • 10 months ago

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

  8. Binosh R
    Binosh R  • 10 months ago

    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
    Rogério  • 10 months ago

    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.

    • Michiel Heijmans

      Thanks, Rogério!

  10. Kees van den Berg
    Kees van den Berg  • 10 months ago

    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

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

  11. Lailasblog
    Lailasblog  • 10 months ago

    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
    zeb  • 10 months ago

    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.

    • Michiel Heijmans

      And thanks for your comment, Zeb!

  13. Jenny
    Jenny  • 10 months ago

    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
    Zia Abdul Azeez  • 10 months ago

    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.

    • Michiel Heijmans

      Working on it as we speak :)

Check out our must read articles about WordPress

WordPress SEO

This is the ONLY tutorial you'll need to hugely increase your search engine traffic by improving your WordPress SEO. Includes plugin, theme & site structure tips. Higher rankings, more visitors and a better site? Read on!

Read article »

The best WordPress hosting

Simply finding the best WordPress hosting is hard: there's a lot of WordPress hosting offers out there, and only a few companies are actually good!

Read article »

WordPress security in a few easy steps

Simple steps you can take today to improve your site's security. This WordPress security guide we wrote in collaboration with Sucuri has it all!

Read article »