All Collections
Site Audit
Tutorials
How to add the HTML tag to your Wordpress site's homepage for ownership verification
How to add the HTML tag to your Wordpress site's homepage for ownership verification

Need to verify ownership of your Wordpress site by adding a HTML meta tag to its homepage? Here's how.

Helen avatar
Written by Helen
Updated over a week ago

Below are steps you should take for adding meta tag to a homepage of your Wordpress site to verify its ownership:

Note: the following steps are to verify your wordpress site for performing a crawl for it using Ahrefs Site Audit tool only! 

  1. Go to your Wordpress site's admin page

  2. Go to Plugins and add the Meta Tag Manager plugin

  3. After adding the plugin, go to Pages -> Home page and click Edit

4.  In Site Audit, copy the HTML tag in the Project's Settings -> Ownership verification menu under HTML tag and paste it in the Meta Tag Manager in Wordpress

e.g.

<meta name="ahrefs-site-verification" content="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx">

5. Click Update in Wordpress admin

6. Click Check Status in Ownership verification menu of Site Audit tool. Verification status should change to "Verified"

The file used for site ownership verification must remain on your site. We regularly check to see if ownership is still valid.

Note: If the Meta Tag Manager plugin doesn't work for you, look for a different plugin that adds the code to the header of your website's homepage.

Did this answer your question?