How to Upload a Google HTML Verification File to WordPress

/
/
How to Upload a Google HTML Verification File to WordPress
What is SEO?
Table of Contents

How to Upload a Google HTML Verification File?

Search Engine Optimization (SEO) is essential for getting your WordPress website the traffic it deserves. 

SEO has become such an integral part of creating a successful site that today there’s an entire industry of agencies and specialists dedicated to helping businesses improve their SEO.

If your website is going to reach the widest possible audience, then you need SEO, and the first step to boosting your website’s search engine performance is registering it with the Google Search Console. 

Once you’ve added your WordPress website to the free Google console, you’ll have access to all the tools you need to monitor, analyze, and optimize your site’s search engine rankings, making this console essential for fine-tuning your website’s SEO.

What Can I Do With the Google Search Console?

Google’s Search Console provides a range of tools that you can use to scrutinize and improve your website’s overall search engine performance. 

Once you’ve registered your website with this console, you’ll be able to: 

  • Optimize your content. You can identify the queries that are driving traffic to your website, and then fine-tune your content to capitalize on the most lucrative search terms. 
  • Register new web pages. You can use the URL Inspection tool to ensure that Google has access to any new web pages you add to your website. By using the Console, you can start driving traffic to your new pages as soon as they’re live. 
  • Review your index coverage. This tool allows you to ensure that Google is looking at the most recent version of your website.
  • Identify and fix any issues. The Google Search Console will email you about any security or indexing issues it discovers, so you can resolve these issues before they start to hurt your search engine performance. 

For a more in-depth look at all the tools that are available as part of the Google Search Console, check out the console’s official documentation

Register Your Website With Google 

In this section, I’ll show you how to register with the Google Search Console by uploading a Google HTML Verification File to your website’s root directory. The exact steps may vary, depending on your hosting provider and how your website is set up, so if you’re struggling to add this file to your website, skip ahead to the following section, where we’ll be exploring an alternative method of registering with the Google Search Console.  Advertisement

How to Create a Google HTML Verification File 

The first step is to generate an HTML verification file for our website: 

  • Head over to the Google Search Console and select Start Now.
  • When prompted, enter the username and password for your Gmail account.

At this point, you can verify your website using either its domain name or URL prefix. At the time of writing, the Domain name only supported DNS verification, so opt for a URL prefix. Enter your website’s URL, and then click Continue.  

When registering your WordPress website you can choose between Domain name and URL prefix
How to Upload a Google HTML Verification File to WordPress and Boost Your SEO

Click to expand the HTML File section, and then click the Download this file button. The Google HTML Verification File will now be downloaded to your local machine. 

Uploading Your Google HTML Verification File to WordPress

Next, we need to upload our Google HTML Verification File using an FTP client.

There are plenty of FTP clients on the market, but I’ll be using the free FileZilla application, which is available for macOS, Linux, and Windows. If you don’t already have FileZilla, then head over to the FileZilla website and download the latest version.

Launch FileZilla and enter your FTP username and password, which should have been included in your welcome email when you signed up for your WordPress hosting account. Alternatively, if you’re using cPanel, then you’ll find your FTP account information in the cPanel dashboard. 

Once FileZilla has successfully connected to your server, select File > Site Manager… from FileZilla’s toolbar. If you’re connecting FileZilla to your WordPress website for the first time, then select the New Site button.

In the subsequent form, provide the Host, which is typically your website’s domain name.

There are multiple FTP clients on the market but Im using FileZilla which is free to download
How to Upload a Google HTML Verification File to WordPress and Boost Your SEO
  • Open the Protocol dropdown and select SFTP.
  • Open the Logon Type field and select Normal
  • Enter your FTP username and password when prompted.

When you’re happy with the information you’ve entered, click Continue and FileZilla will open a new FTP connection.

If this is the first time connecting to your website from this computer, then FileZilla may display an Unknown certificate popup. Select the Always Trust certificate for future sessions checkbox, and then click OK.

FileZilla will now connect to your website using the provided credentials. Once FileZilla has connected successfully, you’ll see a list of all your site’s files and folders in a new Remote column.

You now need to place the Google HTML Verification File file in your website’s root directory. This directory is often the /public_html/ folder, although the directory name can vary depending on your hosting provider—for example, it might be labeled www root or WordPress. You can often locate the root directory by clicking to expand the / directory and then double-clicking the first directory that appears. 

Once you’re inside the root directory, you’re ready to upload your HTML file. FileZilla’s Local column displays all the files on your computer, so navigate to your HTML file, Control-click it, and then select Upload. This Google HTML Verification File will now be uploaded to your WordPress account.

Flick back to the Google Search Console tab and click the Verify button. After a few moments, you should see an Ownership Verified message. 

If you head back to the Google Search Console, then you should now have access to various tools that you can use to analyze and optimize your website’s SEO performance.

You can analyze your websites performance using the various Google Search Console tools
How to Upload a Google HTML Verification File to WordPress and Boost Your SEO

HTML Tags: How to Add Your Site to the Google Search Console

Alternatively, you can register your site with the Google Search Console, by copying/pasting some HTML into your website’s header:

  • Head over to the Google Search Console and select Start Now.  
  • Enter your Gmail username and password. 
  • Select the URL prefix and then enter your website’s URL. Click Continue.
  • Click to expand the HTML tag section. 
  • You should now have access to a meta tag that you can copy/paste into your website’s header. Click the Copy button to get started.

Next, you need to verify that you own your website by pasting the HTML tag into WordPress. To make this process as painless as possible, I’ll be getting some help from the Insert Headers and Footers plugin:

  • In a new tab, log in to your WordPress account. 
  • In WordPress’s left-hand menu, navigate to Plugins > Add New.
  • Search for the Insert Headers and Footers plugin, and when it appears, click Install Now. Activate this plugin when prompted.
  • In WordPress’s left-hand menu, select Settings > Insert Headers and Footers.
  • Paste your HTML tag into the Scripts in the Header box, and then click Save.
Copypaste the Google Search Consoles HTML tag into the Scripts in Header box. How to Upload a Google HTML Verification File to WordPress
How to Upload a Google HTML Verification File to WordPress and Boost Your SEO
  • Flick back to your Google Search Console tab, and click the Verify button. After a few moments, you should see an Ownership Verified message. 
  • Click Go to Property.

You should now be viewing the Google Search Console dashboard for your website. 

Are You Using the Yoast SEO Plugin?

If you’re using the popular Yoast SEO plugin, then you can help Google discover and index your website’s content by uploading an XML sitemap. This XML file supplies Google with a list of all your site’s content, in a machine-readable format:

  • In WordPress’s left-hand menu, select SEO > General, and then select the Features tab.
Find the XML sitemaps slider and push it into the On position
How to Upload a Google HTML Verification File to WordPress and Boost Your SEO

Find the XML sitemaps section and push its slider into the On position. Then click the slider’s accompanying question mark icon. 

Select the See the XML sitemap link, and WordPress should open this link in a new tab. Copy the tab’s URL. 

If you haven’t already, open the Google Search Console, click the menu icon in the upper-left corner, and then select your website. You should now be viewing the Google Search Console dashboard.

In the Console’s left-hand menu, select Sitemaps. Find the Add a new sitemap section, and paste the final part of your sitemap’s URL into the accompanying text field to create the complete sitemap URL. 

Copypaste your sitemaps URL into the Add a new sitemap field
Google HTML Verification

Click Submit, and Google will now add the sitemap URL to your Google Search Console, meaning that Google will start receiving your website’s content in a handy machine-readable format. 

Credits to tutsplus.com
How to Upload a Google HTML Verification File to WordPress and Boost Your SEO

Search
We Design Marbella

Boost Your Online Presence Today!

Professional We Design Services in Marbella.

stay informed!

Subscribe to receive exclusive content and notifications