Verify Ownership of your WordPress Website Easily for Google Search Console

How to verify ownership of your website for google search console easily

Verifying your website for google search console may not be easy if your website is built with WordPress software or you are not interested digging into your cPanel. but in this tutorial, i got you covered, yes it can be quite easy.

In this article,we will be verifying our site with the google recommended method – HTML file upload. in this method, you need to upload an html file into your website to verify your ownership to that site and then open that html file with a custom link, for example – http://www.mysite.com/thehtmlfile.html, this is a direct link to the html file. but with WordPress, we can’t get such a custom direct link directly.

So what we are going to do is install a plugin that will help to create a custom link, then create a custom link and make it redirect it to the html file that google provided you to upload to your website.


Let’s Start

Search and install the plugin “Shortlinks by Pretty Links

Activate the plugin

  • Upload your google verification html file to your wordpress website through the media uploader and copy it’s link

Pretty Links Explained Screenshot

  • Go to the Pretty Links plugin and select Add New Link
  • In the Redirection field, choose 301(permanent) from the drop-down list
  • In Target URL field, paste the link of that html file that you copied
  • In the Pretty Link field, enter the exact name of that html file including it’s extension, don’t rename the html file. the file name must be exactly like it was when you downloaded it from search console.
  • After everything done, your link should look like this example “http://www.mysite.com/htmlfile.html

That’s it, now you have the link ready, hopefully.

Go to the google search console and select verify. if everything went smooth, you will see the below message

Now i hope your website is verified in the search console 🙂


Related Posts

Easily Integrate Stripe Payment Gateway in PHP for Any Website

Introduction: In today’s digital world, accepting online payments securely is crucial for businesses. Stripe, a popular payment gateway, provides a reliable and user-friendly platform for processing payments….

How to build API for your Website?

Are you looking to improve the functionality of your website and enhance your users’ experience? One effective way to do this is by integrating an API, or…

How to create a Database in MYSQL using PHP

Creating a database in MySQL using PHP is a common task that many web developers need to do. A database is a collection of data that is…

HTML Redirect to Other Web Page Automatically

How to redirect to another web page with html code Redirecting a page to another page is simple, you can use the below code to do that,…

PHP Array to JavaScript Array

How to convert PHP array to JavaScript array The code below can convert your php array to JavaScript array

Fix PHP Unable to find the wrapper “https” – did you forget to enable it when you configured PHP?

Here is how to fix Unable to find the wrapper “https” problem in PHP In php development, you will encounter this error when trying to access an…

Leave a Reply

Your email address will not be published. Required fields are marked *