How to add HTML sitemap

英語学習 英語記事

You should have one when you create a blog, “HTML sitemap for readers”.
We will tell you how to create it using COCOON!

What is sitemap

HTML sitemap for readers who visit the blog

XML sitemap for Google Search Console

Two types of sitemaps exist.

HTML sitemap (for readers)

It is a listing so that readers can see what articles are written on the sites they visit, and is shown below on my site.

サイトマップ見本

XML sitemap (for Google Search Console)

An XML sitemap tells “Google” what articles are on your site and is not displayed on your site.
An XML sitemap is necessary to increase the number of visitors to your blog because it will be “indexed” in Google Search Console and your site will appear in the list of search results when a keyword is searched for in Google. Installation is also recommended during the Google Adsense (Google Adsense) review process.

How to set up an HTML sitemap

How to install an HTML sitemap using COCOON.

How to set up an HTML sitemap

How to customize your sitemap

List of Codes

The created sitemap is automatically displayed on fixed pages, post listings, category listings, etc., but it can be customized by adding page names and show/hide instructions after the “sitemap” description.

  • Fixed page:page
  • Category Page: category
  • Submission Page:single
  • Monthly archives:archive
  • display:1
  • no diplay:0

The monthly archives are set to hidden by default. When set to “visible,” a sitemap like the one below is automatically created.

HTMLサイトマップ 月別アーカイブ

How to write a source code

Hide one page

[sitemap page=0]

Hide multiple pages/display multiple pages

Separate codes from each other with a single-byte space.

[sitemap page=0 category=0]

Read this in Japanese.

コメント