Are you aware of what Google Search Console is? Are you having nightmares figuring out how to add your WordPress website to Google Search Console?
You need not to worry! This article will ease all such woes as it will aid you in regards to what really Google Search Engine is and how your website can benefit from it, especially a WordPress website. You will also develop awareness regarding how you can add your WordPress website to Google Search Console. However, this shall depend on what your setup is.
Google Search Console: What Is It and Why Do You Want It?
If you’ve stumbled upon this article looking for ways on how to add your website to Google Search Console, we will keep this brief and get right to the methods.
An official service from Google, the Google Search Console aids with the process of SEO
You can control some of the crucial settings which are imperative for successful SEO and for Google to rapidly crawl your website and be able to add a sitemap
Review essential analytics such as how many impressions/click is your website receiving or which keywords are being assisting your website to be ranked better
If search engine optimization is something you take very seriously for your WordPress website, it’s vital that you have your site added to Google Search Console.
Here are 5 methods that will be reviewed for Google Site Verification
After reviewing the listed five methods, you would have attained complete knowledge on how to complete the verification process:
1. Using The Most Popular WordPress SEO Plugin:
There are multiple SEO plugins which are available out there which can assist you with the Google site verification steps. However, we will guide you using the All-in-One SEO Pack and Yoast SEO plugin since they are the most popular by far.
2. Google Tag Manager or Google Analytics:
If your current practice already involves use of Google Tag Manager for containers or Google Analytics for analytics, you will be able to connect to both of these services without feeling the need for addition of anything new to your website.
3. <Head> Section And Use Of Small Code Snippet
If within your theme, you have hooks which allow you to add code directly to the <head> section or you already are making use of a plugin such as Insert Headers or Footer, this will then be a reliable option.
4. DNS Record Via Your Domain
If you are a pro, you may opt for this as it does not require addition of any code directly to your website. However, for casual or novice users, this might prove to be slightly dicey.
5. File Which You Upload
If you have plenty of time on your hands and if you want to go for what Google recommends, then you may opt for this method as it not only requires you to leave a file on your server but also consumes considerable amount of your time.
Before Verification Steps: Add Your Website to Google Console
Regardless of which option you have chosen, you will still be required to add your website to Google Search Console prior to verifying it. The process however is swift and let us run you through it so this isn’t required each time for the different methods as discussed above.
For starters, open Google Search Console > Click ‘Start Now. Upon doing so, you will be notified to add your website by inserting its URL
Once it’s completed, you will have a range of options to ‘Verify the ownership’ (Your interface however might seem different but the core idea is the same)
Let’s now get into the detail of how you can go about for Google Site Verification through these five easy options. You won’t however be choosing all of them, only need to pick one which you feel is easy for you.
1. All In One SEO Pack or Yoast SEO
If there is a WordPress SEO plugin already in your use, this would make the Google Site Verification process simple. To begin, the value listed in the HTML tag option needs to be copied:
Once done, add the copied value to the SEO plugin’s interface. If the plugin being used is Yoast SEO then follow these steps:
> SEO > General > Webmaster Tools in your WordPress dashboard. Here, insert the complete copied HTML tag into the Google verification code box:
Make sure to save the changes and you will be done!
Using All in SEO Pack: On the contrary, if you are using the All-in-one SEO Pack, you would go about doing this in General Settings by scrolling to the Webmaster verification area. Copy only a part of the HTML tag into the Google Webmaster Tools box. The part to copy specifically would be between content=”COPY_THIS”:
Once done, insert the part in the interface of the All-in-One SEO Pack
Ensure to save the changes and that will be it!
Upon the changes being saved in your SEO plugin, to finish the process, revert back to the Google Search Console interface and click ‘Verify’.
2. Google Tag Manager or Google Analytics
If the top most services of Google are already in your use such as the Google Analytics or Google Tag Manager, the process would become simpler as you can make use of these existing services to have your website verified with Google Search Console since all services are linked with Google.
However, if they aren’t in your use, we won’t recommend adding them just for the purpose of verifying your website with Google Search Console.
When you move forward to add your website to Google Search Console, just choose the Google Tag Manager or Google Analytics option and click ‘Verify’:
Also, if you have the chosen service on your website, you will be just fine.
3. Code Snippet In Site Header
This process is doing something manually that SEO plugins otherwise do for you. If you choose to do it manually, you will be required to insert the same HTML tag in your website’s <head> section by using:
Plugin such as ‘Insert Headers and Footers’
Your theme’s hooks
The wp_head hook
For instance, if you opt to go ahead with the free ‘Insert headers and footers’ plugin, this is how it will appear:
Once the code snippet has been added, you will click the ‘Verify’ tab in the Google Search Console interface to wrap things up.
4. DNS Record
Perhaps a slightly more complicated method, however, opting for this will eliminate the requirement insert any code or file to your website, making it somewhat more performance optimized.
However, to pull this off successfully, you will be required to edit your domain’s DNS records. In most scenarios, this would be done via your host, for instance, at your SiteGround account; you can edit DNS records through the cPanel:
On the contrary, if your WordPress website is being used along with Cloudflare, you will be required to insert the DNS record through Cloudflare’s interface. If you are not certain where or how to edit DNS records, seek assistance from your host’s support documentation. Additionally, Google as well will provide you with a tool to assist you with the instructions. Once you are successfully in editing DNS records, copy the value from Google Search Console:
Once done, build a new TXT record and insert that value in as the TXT Data. You may also be required to specify a TTL depending on where you are adding your record – though, you can opt to use 1800 as the value.
You will be able to complete the verification process by hitting the Verify tab in Google Search Console only once the DNS changes circulate, which however might take some time.
5. Upload File To Server
A method recommended by Google, you can upload a file to your server. To be able to do this, go to the HTML file option and download the file in Google Search Console:
Once downloaded, upload it on to your server by making use of either cPanel File Manager or FTP. Do not miss out on uploading it to the root folder of your website. This generally is the same folder which contains wp-admin subfolder and your wp-config.php file. This is how it appears in the cPanel File Manager:
Revert back to the Google Search Console Interface once the file has been uploaded and hit the verify tab.
Ensure That You Leave Your Chosen Verification Method In Place
It’s essential to know for which ever method you choose, you will have to leave the file or the code snippet in place. This signifies that the verification process isn’t a single time activity, rather its on-going. However, if you do the opposite, either remove the file or the snippet, your status will revert back to being unverified.
Hence, regardless of the method which is chosen, do not forget to leave it in place till the time you intend on using the Google Search Console. You can also set a preferred domain either with WWW or without WWW using the preferred domain indexing option in search console.
This was your comprehensive guide and all which you required to successfully wrap up the Google site verification process.
Imran is a succcessful freelancer with over 10 years of experience in Internet Marketing, QA and WordPress development. He shares WordPress latest hacks, tips and useful free or paid resources for noobs and experienced WordPress enthusiasts.