How to Add Your Drupal Site to Google Webmaster Tools

How to Add Your Drupal Site to Google Webmaster Tools

Add google search console to drupal
Pin me to your Pinterest Boards

Search engine optimization takes many forms, but today we want to focus on something that all webmasters should do. One important step in optimizing your site for search engines is adding your Drupal site to Google Webmaster Tools. Using Google webmaster tools along with other tips that we have provided can be a huge help. In this article, we will show you how to add your Drupal site to Google Webmaster Tools.

What is Google Webmaster Tools

Google’s Webmaster tools is a set of tools offered by Google to give publishers a look at how their website is seen by the search engine. Google Search Console (previously Google Webmaster Tools) provides you with detailed reports about your pages’ visibility on Google. By submitting your Drupal sites to Google Search Console, you can find out quickly if Google is having a hard time accessing or crawling or site or distinguishing the content on your site.

How to Add your Drupal Site to Google Webmaster Tools

If you don’t have a Google Search Console account, visit Google Search Console. You will be asked to sign in with your Gmail or Google account or create a new account.

Once you are signed in, do the following to submit your site:

  • Click the red Add a Site button in the upper-right corner.
  • Enter the URL for your website, for example: example.com
  • Click continue.
  • You will be prompted to verify the domain.
  • Click the Alternate Methods tab to verify the ownership using an HTML tag:
    <meta name="google-site-verification" content="VerificationKeyCode" />

    The important part is the value of the “content” attribute

  • Make sure the Metatag: Verification module is enabled, it comes with the main Metatag module.
  • On admin menu go to Configuration > Search and Metadata > MetatagAcross from the Global item, open the Override or Edit link, as is appropriate.Click to expand the Site Verification section (underneath Advanced).Copy and paste the verification key from step 1 into the “Google” field.

    Click Save Changes

  • Go back to Google Webmaster Tools and click the Verify button.
  • Once the site is verified, click the red Add a Site button again. This time, add your site using the www version of the site, e.g. www.example.com.

Setting the Preferred Domain with Google Search Console

If you followed the steps above, you will now have two versions of your website verified with Webmaster Tools. The next step is to tell Google which is your preferred URL, which you can do by navigating to Configuration > Settings in the sidebar

You will want to repeat this process for both versions of the site (obviously, each preferred URL should point to the same version).

It doesn’t make a difference which one you go for — it’s an aesthetic choice more than anything. However, it is important that the version you pick matches the URL defined in the General Settings of your blog.

Alternative Method

You can use a module called Site verification

This module is used for the following search engine verifications:

Similar modules

To submit your sitemap to Google:

  • In Google Webmaster Tools, click on your website, and then click on Crawl.
  • Click Sitemaps.
  • Click the red Add/Test Sitemap button.
  • Enter the file name for the sitemap.
  • Click Test Sitemap.
  • If the test is good, click the Add/Test Sitemap button again and enter the filename for the sitemap again.
  • Click Submit Sitemap.

Other Resources:

If you have found a spelling error, please, notify us by selecting that text and pressing Ctrl+Enter.

Also Read  Complete Step by Step to Install Drupal on a Live Server

CMSFolks Editorial Crew

Editorial Staff at CMSFolks is a team of WordPress experts led by Ajayi Adekunle. Site maintained by CMSFolks Studio.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Close Menu
×

Cart

Spelling error report

The following text will be sent to our editors: