Beginner's Guide for WordPress / Start your WordPress Blog in minutes

How to Add Your WordPress Site to Google Search Console

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

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

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.

How to easily add your WordPress site to 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.

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 WordPress SEO, then you need to add it to Google webmaster tools from day one.

That being, let’s take a look at how to easily add your site to 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.

Start Google Search Console

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

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

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

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.

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

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.

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

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.

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.

Copy the HTML tag

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

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.

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.

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

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.

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

First, you need to install and activate the All in One SEO plugin. For more details, see our step by step guide on how to install a WordPress plugin.

Upon activation, go to All in One SEO » General Settings » Webmaster Tools page and click on “Google Search Console”.

The Webmaster Tools page in All in One SEO, to select Google Search Console

Then paste the code you copied from Google Search Console into the “Google Verification Code” box.

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

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

Verify ownership

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

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.

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 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.

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.

The good news is, if you installed the All in One SEO plugin in the steps above, you’ve already added an XML sitemap to your site automatically.

To see your sitemap, go to All in One SEO » Sitemaps. From here, you can see the sitemap is automatically enabled for you.

Enable sitemap in All in One SEO

Next, you need to get the XML sitemap link. Simply click on the ‘Open Sitemap’ button, and you will see a link to your XML sitemap.

All in One SEO XML sitemap preview

From here, you can just copy the URL from your browser’s address bar.

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

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

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

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

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.

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

That’s all, you have successfully added your website to 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 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.

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

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.

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.

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.

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

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.

It’s much better to use the All in One SEO plugin because it lets you add site verification for all platforms (in a single plugin). Not to mention, it also has a ton of other WordPress SEO features to help you rank better and get more traffic.

3. How can I become a power user of 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.

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

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.

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.

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.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit – a collection of WordPress related products and resources that every professional should have!

Reader Interactions

229 CommentsLeave a Reply

  1. I’ve been frequenting your site because it has been really helpful in building my blog. I just can’t seem to verify it thru google search console. I tried all the alternatives listed in this page. What am I doing wrong? HELP!

    • Hi Mai Taup,

      Do you see an error when trying to verify your blog? Make sure that you have added the correct address of your website in Google Search Console. Google treats https and http, www and non-www URLs differently.

      Admin

  2. Thanks very much – your step-by-step description was so easy to follow & it worked a treat!

  3. It was helpful .. I had been messing up for long and this article solved my problems in a minute .. keep up the good work

  4. it keeps telling me “we were unable to verify your property” Any thoughts on what i am doing wrong? thanks!

  5. I keep getting an error when I follow the tips in this video. It says – “The Google XML Sitemaps plugin might cause issues when used in conjunction with Yoast SEO.” Any idea what I should do now?

  6. I used the insert headers footers and copied and pasted the code over and it still wouldn’t verify the site.

  7. What led me to this video was I initially watched your video on how to install Google maps to wordpress with your provided plugin. The result was Javascript console prohibiting complete map loading.

    I have done everything stated in this video tutorial, but I “do not receive the green check mark” allocating Google found my tag? Could one of these be why:
    1. Domain was on another platform and I recently brought it over to Dreamhost (2 days ago)
    2. New platform, theme, and wordpress are still under construction – could this hinder the tag from being found?
    3. Google is stating verification failed, unable to connect to the server – Why is server not allowing connection?
    Great to the point videos, Thanks for your time.

  8. Excellent video. I struggled for a couple of hours before I found your short, informative, step by step instruction. Bravo.

  9. if we have verified our analytics account with insert header and footer plugin, how to verify with web masters ??

  10. Thank you for an excellent tutorial! After struggling to figure the domain verification process for some time, this tutorial helped me to resolve the issue in minutes! Thank you!

  11. I am trying to verify the https versions of my site via ftp but cannot find those versions to upload the HTML verification file to. Any ideas where to find them?

  12. Hello,

    none of those methods worked for my website, I have followed the steps in the video and but it says it can not find the verification meta tag. Also uploading the html file did not work. What should I do now?
    Thank you!

  13. Thank you very much for sharing such an important info especially the “Insert Headers and Footers Plugin” which is going to help me a lot. Is it OK to uninstall and delete “Insert Headers and Footers Plugin” after including meta tag in the header?
    Eagerly waiting for reply…
    Thanks again………

  14. I was going around and around trying to get this to work and couldn’t.

    I’m so happy I finally got the “green checkmark” after following your instructions. Thx a bunch

  15. Thanks for this video. Was going round in circles tying to verify my site and all done now. Thanks

  16. After submit xml I got a messege “Improve the search presence of https://example.com“. There are a option named “Add all your website versions”. Do you have any instruction about this?

  17. I have removed a plugin of wpbeginners from my WordPress site mistakenly I want to add that plugin again but It says that “Installation failed: Destination folder already exists” what to at this stage ?

    • Hi Arif,

      You will need to first connect to your website using File Manager in cPanel or an FTP client. Next, you need to locate /wp-content/plugins/ folder. Inside it you will need to locate the plugin you are trying to install and then delete it. After that you will be able to install the plugin normally from your WordPress admin area.

      Admin

  18. Hi i just wanted to say thanks i was trying to do the webmaster tool thing for my website and i had no idea how to do that i know somewhat but coding is not so much of my thing like where to put what code and i was having trouble knowing how to upload the html file but this meta thing was easy to do thank you helped me do it i was struggling with this and i asked someone for help and they made it seem like its impossible for me to do cuz usually ppl dont tell others and help but this helped me alot thanks i was struggling for a year asking for help now i just google and found ur site and it helped thank you so much really also can u let us know like a checklist to make sure points to apply for google adsense please plzzzz thanks

  19. Dear Sirs,
    can anyone help me with the recommended method ie. HTML file upload process step by step. Its vaguely explained. All other methods are explained in detail. please explain this method too in detail
    Thanks
    regards
    Michael

  20. Thank You, your recommended plugin made adding the meta tag very simple to the header. I believe this plugin should be with googles instructions and a lot more people will find this easier to insert meta tags. I failed the first time on all the other methods

  21. thanks a lot, your article was very informative, easily instructed and understandable. i appreciate your help wordpress.

  22. Can NOT thank you enough for this! Have been struggling all day trying to find a simple fix and this was so easy!!!

  23. the tutorial is really great but i think i have messed it up somewhere.In my search traffic it is showing 0 ,even though the site is open in my phone . Can you suggest some way how to get the correct data.Also i have received plenty of comments on my blog still it shows 0 users from beginning.My website is :

  24. WOW thank you so much for the video tutorial. It was super simple to do, now I have the green light thanks again I love your tutorials

  25. Hi,

    I am trying to verify my website but failed many times. I have followed all the steps that are listed above but not working for my website. I tried submitting html tag code in google search console in Yoast SEO. Please help me. Thanks

  26. Hi, The tutorial is really nice.
    I use the sitemaps plugin (Better WordPress Google XML Sitemaps) on my wordpress site to send my sitemaps to Bing and google. Do I still need to use Google webmastertools for sitemaps

  27. After agonizing over “countless” foreign instructions on the web on how to verify as owner of my website, I stumbled across this tutorial. It took me a few minutes to understand what I was typing in my search engine to add a new plug-in, but after that, I was finally able to verify my Blog. The only suggestion I could make is that it the visuals could be a little more clearer.

    Thank you so much for your help!

  28. Thank you so much. I have been trying so long to verify my website and I couldn’t until I visited your website. Thank you again.

  29. Thank you so much! I was really stumped, as my several attempts were not working. Thanks to your video I got the green check mark on the first try! :)

  30. i did verified my site long before but have not added meta values to the webmaster tools. Can you please help me in finding the meta values. Where can get it with verifying again?

  31. Thank you for uploading and sharing this info. for me it’s very helpfull as a starter of wordpress sites. Without this kind of help it makes it mor difficult. Again thank you keep up the good job.

  32. Hello all!
    I am setting up Yoast Seo. I have done the process to add my website to Google Webmaster and it’s works ok. But when I go to put the authorization code to authenticate, it says “no profiles found”.
    Please, some help will be appreciated.

  33. This is wonderful. I have had a site for more than 10 years, paying various consultants thousands of dollars along the way. But no decent SEO. This looks like a way to go. I am stuck at 1 minute 50 seconds of the video. Then the voice goes too fast and the picture is too fuzzy for me to follow.

    I have inserted the plugin but do not know how to capture the “metadata” that goes on a subsequent page. Can someone help?

  34. Hi,

    i am actually facing a problem.

    I am helping my cousin with his website.

    His website is actually
    However, when i search for “brboss”, his website does not show up.

    Can you please help with this problem :)

    p.s. i already register in google webmaster

    Thank you.

  35. Hello,
    Thank you for such an informative tutorial. I opted to verify my site via signing into Bluehost but have just read somewhere that says
    ‘When your site has been verified by Search Console, do not remove the verification code from your site. If the code is removed, it will cause your site to become unverified.’
    Because I didn’t upload a code, do I still need to do so?
    Or have they got one from Bluehost?
    I’m also a bit confused on how to add ‘site versions’ in the next step,
    Thankyou!

  36. Hello,
    First of all you are awesome I really learned a lot from your site which is beginners frindly
    I am newbie ti all this and I already started to take action but
    When I came to verifing my site in google webmaster always get the same message every time that they cant find the meta tag though I tried many other ways for verification like the domain name and google analytic
    I thought may be because I haven’t puplished my site yet but I already verified my google analytic account ,I am confused and don’t know what to do I even tried webmaster help but no good ,I am kindda frustrated but I really want to continuo because I still have the passion and feel I am heading forward so please help me with this issue
    One more thing excuse me for my bad english
    Thank you

  37. Hi,
    just to say a BIIIIIIIG THANK YOU!
    I first went down the route of FTC, but had no idea what I was doing, still don’t.
    Your video was so simple. Love this plugin.
    I got failed messages at first, but I think I must’ve put in my URL wrong somehow. When I started from scratch, it worked a treat. I am now verified and very happy.
    Thanks again.

  38. I followed all the steps and even repeated the process three times, but every time Google Webmaster said that my verification failed. Is there something I can do to fix this?
    Thanks!

  39. As always very helpful. Once you insert the code into the header, can I deactivate the plugin or does it need to remain active?

Leave A Reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.