Skip to main content

Verify In Google Search Console

The Google Search Console is a useful tool to help you learn about how your website is crawled by Google and to make changes to how Google indexes your website.

To see this information, you need to sign up for the Google Search Console and add your website.

Whether to use a URL-prefix property or Domain property

Google Search Console has two ways to add a website: you can use a URL-prefix property or Domain property.

Domain property is the most powerful. However, to verify your domain name as a domain property, you need to set a TXT record on your domain.

Unfortunately, it is not possible to create TXT records when using PleasantFree nameservers. If you use third party nameservers on your domain (such as Cloudflare), you can use this option.

If you're using PleasantFree nameservers, you can use a URL property instead. This only requires a website verification, which can be done on any (sub) domain and any nameservers.

Make sure your website base URL is consistent

If you have a domain name and have SSL set up on your domain, then all the following URLs will serve the same content:

In order to get correct stats in Google Search Console (and generally improve your site's SEO), you should make sure you are redirecting all of the URLs above to a single URL (either with our without HTTPS and with our without www).

There are multiple ways to do this. If your website has a Website URL option, that should first be configured to the right URL. This may also fix the redirects.

You can also use .htaccess rules to enforce the redirects. You can find example .htaccess snippets by searching the web.

Adding your website to Google Search Console

To add your website as a URL-prefix property, you can do the following:

  1. Go to Google Search Console and sign in with your Google account.
  2. Click "Add property" and choose the type "URL prefix".
  3. Enter website base URL, including http:// or https:// and optionally the www subdomain.
  4. Choose verification method HTML file.
  5. Download the HTML File to your computer.
  6. Open a file manager or FTP client connected to your hosting account, and navigate to your website folder.
  7. Upload the HTML file you just download to the htdocs folder.
  8. Click the "Verify" button to complete the verification.

The above steps are all you need to verify your website on the GSC.