# How to verify the domain or URL of your WordPress website?

Despite there are several methods to validate the domain and thus the URL of your WordPress / WooCommerce website, we strongly recommend you to validate it with the simpler "HTML tag" method.

If you want to understand why you should verify the URL ot your website, read more about the Trust Certificate.

Prerequisites

✔️ You've already installed the Command Line Interface tool on your desktop.

✔️ You are at the Step 4 of the creation of your Trust Certificate

Table of Content

# Generate the verification package

Run this CLI command in a terminal:

uns properties:register "@organization:my-saas-platform-101" --value "www.wordpress-domain.com" 

Replace :

  • my-saas-platform-101 by your @unikname of type Organization
  • www.wordpress-domain.com by the domain of your WordPress website. (without https://)

It will output:





 




{
  "data": {
    ...
    "value": "www.wordpress-domain.com",
    "verificationKey": "fi5TrRlrW1Dx1jEGCCEXISVKu...MImSNDM180HPDXyvF383jYj5ki-TSMrxMDiQ-pplpJxQ",
    ...
  }
}

The most important part is the verificationKey/verification key entry (in the above sample: fi5TrRl...-pplpJxQ - without ").

You will need to copy/paste later in your clipboard.

# Configure the verification key in your WordPress

The verification of your domain requires to expose the verification key to the crawling of a web bot (such as a search engine bot, but dedicated to Unikname ecosystem). The best way to do that, is to add a meta HTML tag in the main page of your WordPress web site.

Unfortunately, there isn't any standard way of doing that in WordPress.

So, we recommend you:

  • either to use a dedicated plugin
  • or to use your own custom method, for example provided by your theme builder or most SEO plugins

We will guide you by using the plugin Meta Tag Manager (opens new window). You are allowed to remove it after the URL/domain verification.

# Install Meta Tag Manager plugin

Use your admin panel to install and activate the plugin Meta Tag Manager (opens new window).

# Configure the Meta Tag Manager plugin

In your admin panel, go to "Settings" > "Meta Tag Manager"

  • Add a new Meta Tag

Unikname Connect trust certificate example

  • Configure it as below:

    • Tag Type: name
    • Name value: uns-url-checker-verification

WARNING

⚠ Replace the content Attribute by your own verificationKey (not the one provided as an example)

Keep the other configurations by default.

Unikname Connect trust certificate example

Then "Close Meta Tag Option" and "Save Changes" on the bottom.

Cache plugin

If you have a cache plugin (Divi Rocket, WP Rocket ...), you should clear its cache NOW, before going to the next step.

# Verify the URL/domain of your website

Until done, finish the process by executing the following command with the CLI:

uns properties:verify "@organization:my-saas-platform-101" --url-channel html

Again , replace my-saas-platform-101 by your @unikname of type Organization.

The command will tell with you its a success or will display an error message you can try to solve by yourself by reading the troubleshooting section of the reference documentation.

If the verification is a success, you can safely remove the "Meta Tag Manager" plugin.

All done!