Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
25 Million+
Websites using our plugins
Years of WordPress experience
WordPress tutorials
by experts

How to Add Your WordPress Site to Google Search Console

Editorial Note: We earn a commission from partner links on WPBeginner. Commissions do not affect our editors' opinions or evaluations. Learn more about Editorial Process.

One of the most important steps 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.

Video Tutorial

Subscribe to WPBeginner

If you’d prefer written instructions, just keep reading.

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 HTTP and HTTPS as two different protocols. It also considers and 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 log in 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 the 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.xml at the end of your website address. For example:

Now that you have the 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.

AIOSEO also comes with several other sitemaps, like video sitemap, news sitemap, and RSS sitemap, that all help you get a competitive advantage and rank higher in SEO.

The process of submitting those sitemaps is the same as above.

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

View Google Search Console Data Inside WordPress with AIOSEO

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.

But, you can also easily view a lot of this important data right from your WordPress dashboard using the AIOSEO Search Statistics addon.

With AIOSEO’s Search Statistics, you can track your keywords, view your top-performing content, discover valuable search statistics, and more, inside WordPress. This means that you don’t have to waste time switching from WordPress to Google Search Console to find the data you’re looking for.

Once Search Statistics is connected to Google Search Console, simply click on ‘Search Statistics’ in the AIOSEO menu from your WordPress dashboard.

AIOSEO Search Statistics addon

This will bring you to the Search Statistics dashboard. From here, you can see SEO Statistics, such as the search impressions, total clicks, average click-through rate (CTR), and average position of all of your content.

See SEO Statisitics report in AIOSEO Search Statistics addon

You can also use the Keyword Performance report to see which keywords your website content is ranking for in Google search results. By clicking on the ‘Top Winning’ and ‘Top Losing’ tabs, you can see what keywords have seen the biggest position changes.

AIOSEO Search Statistics keyword performance table

In addition, with the powerful Content Rankings report, you can easily spot content decay and important content performance trends.

AIOSEO Search Statistics Content Rankings Report

It will show you the date a URL was last updated, details about the rate at which your content is decaying, and other essential SEO and content marketing metrics.

Using AIOSEO’s built-in SEO recommendations, you can easily optimize your decaying content to boost your rankings again.

You’ll also get helpful reports for improving the user experience (UX) on your site, tips for troubleshooting issues that are negatively affecting your SEO, and more.

Google Search Console and WordPress FAQs

Having helped thousands of readers add and verify their websites 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 a 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 log in 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 businesses

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. Here's our editorial process.

Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

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

255 CommentsLeave a Reply

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. sulman says

    You did a very good job and you just eased the word for any new SEO student who want to learn it for professional purpose and please carry on your work. Thanks

  3. Munna Hossain says

    Informative article. It is really important to submit your site on google webmaster tools. Thanks you for sharing with us.

  4. Ann says

    Thank you!!
    Spent so much time trying to get the right solution and your easy to watch video showed me in minutes!

  5. Jay says

    Spent an hour on other sites trying to figure this out with no luck. This worked first time. Thank you!

  6. Mursaleen Kamal says

    How Much Time Google Take to Shows Proper Sitemap on Search Engine Here Is My Website Which is Approx 6 Month Old
    from Karachi, Pakistan.

    • WPBeginner Support says

      If you are using Google Search Console (webmaster tools) then you can submit your sitemap directly. Your sitemap is not shown in the search results. Instead it is used to prioritize how search engines crawl and prioritize your content.


  7. Manish says

    I was using search console when i was in blogger and now i have shifted to wordprss so i need to delete my blogger search console and make a new one for my wireless site.?

  8. Rahul khurana says

    I am trying to add my property in Google Search Console .
    i am doing step by step , i add HTML code in Insert and footer plugin but when i verify it , msg returns we could not find the meta tag .

    • Anto Navis says

      Use alternate method to download the google site verfication html file add the respective file on your server using your cpanel or FTP.

      Once you upload the file correctly on your server, Then verify your ownership on google webmaster tools.

      You will surely Verified the Ownership of your website

  9. ibu solihatun says

    The article is very interesting. Helped me understand many things and will be happy soon to write like again

  10. Kevin says

    Extremely helpful video that goes straight to the point. I love it when a process I’m trying to implement works out perfectly on the first try.

    Thank you.


  11. Allison says

    What if I am hosting my site with and don’t have access to plugins? Is there another way to get the code on my site?

  12. John says

    thanks for sharing all the great tips and guidelines on how to set up these SEO tools i have used them as instructed n now my sites are ranking higher than my competitors

  13. Amazing says

    Hi, can I remove the plugin after I have activated webmasterstool? I don’t want any more plugins then I already have :)

  14. Eliza Beck says

    This was brilliant and very helpful, I always forget how to do this and come back to the site time and again!

  15. Ryan VanRiper says

    THANK YOU!!! I have been messing around for hours with this. This video got me verified in minuets. THANK YOU!!

  16. Paul Maddock says

    It’s probably worth adding to the article that WMT allows you to verify your site through Google Analytics code as well now, which is much easier than the methods listed above for verification.

  17. Jason Coleman says

    Or you can use SEO by Yoast which generates your sitemaps for you and then just add them to GWT that way. Just a thought.

  18. Julie Jordan says

    I’m having a problem verifying with Google that I own my website (and I do, and have since 2012). When I log into my GoDaddy account INSIDE the Google verification page, it rejects my password, yet, at that exact same time, I’m logged into GoDaddy with no problem.
    Oh, and the instructions inside the Google verification are outdated. For starters, there’s no LAUNCH button in GoDaddy any more.
    Not being a computer guru, I’m pretty much stymied and don’t know what to do now.

  19. Duy Tuan says

    If you register domain in GoDaddy then it’s easier, Webmaster tool is integrated with Godaddy then when you click veryfy, it will ask you to login to your Godaddy account and everything is automatically processed.

  20. David says

    Simply thank you :) Been driving me nuts!! Used the Insert Headers and Footers thingy and all sorted in less than a minute :)

  21. XButt says

    does it work in wordpress free version without installling wordpress
    because i dont see plugins button please help

  22. WPBeginner Staff says

    Maria, first thing you should note down is that your website’s URL is the one you see in WordPress Admin area under Settings >> General. So whenever you are submitting your website anywhere use the URL in your WordPress settings.

    Also note that www and non-www URLs are not the same. WWW is actually a subdomain. Eventhough search engines are smart enough to understand that and could mean the same. However, due to the technicalities they need to differentiate between the two and take them as two different locations.

    We would recommend you to start over. Delete your site from Google webmaster tools and then add it again. Hope this helps.

  23. Rachel says

    Thank you so much! Your tutorial was the first of many that actually gave me the plug-in to activate in order to enter in the header information. Do you know how long it takes to be searchable on google, once the site is verified? Thank you again!

  24. mm says

    Very helpful. However, the meta-tag information was under “alternate methods” when I did it. I pasted the tag under “recommended” and wondered why it wasn’t working.

  25. J Ey says

    Thank you so so much. I found it extremely helpful. For the life of me I could not figure out where to upload that link until I saw that extra step in your video. I always appreciate a great tutorial!

  26. Theresa says


    I just tried to upload your plugin, Insert Headers and Footers, for my wordpress site which; a Twenty Ten theme and 3.8.1. But it said your plugin wouldn’t work on the site. Do you have a newer version of this plugin that would work on my site? I’ve been trying to get my sites verified by google for a few months now. Any help would be appreciated!

  27. Jeff K. says

    Thank You so much. I tried about 5 or 6 different ways, most the wordpress site recommended, and I finally got it to work by using the headers method you described. I just wish I’d have seen this site sooner. Thanks Again. Jeff

  28. Aamir says

    I was in a fix how to submit my sit int Google Web Master Tool………Bust you mention Step By Steps Point Thanks A Lot

  29. Louise says

    Thanks for the tutorial. I just added my site, however I stupidly did the recommended method when I verified it so I didn’t get the code to add to the wordpress SEO plugin. Will this effect how effectively the SEO plugin works or doesn’t it matter as long as your site is set up/verified on google webmaster tools? Would really appreciate your help!

  30. Johnny says

    Thank you I have followed the tutorial but cannot really get it to work on my site can you please help.

  31. Praveen Prasad says

    What about others Webmasters Tools like Bing, Yahoo, Pinterest and Alexa ?
    The process is same or any other method? :o

    • Abhisek says

      For Bing, Yahoo, Alexa The process is pretty same, after signing-up for webmaster’s you’ll provided with a code to be pasted in your header.php and the get verified. I don’t think there is any such requirement for pinterest. Just make a pinterest account, link with your website and you are ready to go.

Leave a Reply to Mahmud Cancel 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.