Blog

Index Website With Google

To help Google index your blog, use one of several sitemap plugins and point your Google Webmaster service to the sitemap xml.

c20d437d-9db7-46f4-9b7e-1ed4439f73a5.png

Install Hexo plugin hexo-generator-seo-friendly-sitemap

1
$ npm install hexo-generator-seo-friendly-sitemap --save

https://github.com/ludoviclefevre/hexo-generator-seo-friendly-sitemap

install-hexo-plugin-hexo-generator-seo-friendly-sitemap.png

Add configuration to the Hexo configuration

Add configuration to _config.yml

add-configuration-to-the-hexo-configuration.png

Create a robots.txt

Add a robots.txt file to the root folder.

create-a-robotstxt.png

Google Webmasters

https://www.google.com/webmasters/

google-webmasters.png

Register with Google Webmaster Central

Submit your sitemap url to Google for verification, log into Google Webmaster Central using your Google account.

register-with-google-webmaster-central.png

Verify domain ownership with Google Webmaster Central

verify-domain-ownership-with-google-webmaster-central.png

Using alternate verification of DNS TXT record

I’m using CloudFlare to front the website.

using-alternate-verification-of-dns-txt-record.png

Register site in the Search Console

register-site-in-the-search-console.png

Search Console

search-console.png

Adding a sitemap reference to the Crawler

Have Google crawl your website by registering your sitemap.xml to the Crawler

adding-a-sitemap-reference-to-the-crawler.png

Waiting to be indexed…

You may not see the data immediately, but after Google finish indexing your website (about half a day), you can see your website status (like Crawl errors, Search Analytics etc.).

waiting-to-be-indexed.png

Verify robots.txt

verify-robotstxt.png