How to Add an HTML Sitemap Page in WordPress?

How to Add an HTML Sitemap Page in WordPress

Are you looking to build a HTML sitemap in WordPress? Unlike XML sitemaps that you submit to search engines for better crawling, HTML sitemaps show an organized list of your pages for your users. In this article, we will show you how to add an HTML sitemap page in WordPress.

What’s The Difference Between XML and HTML Sitemaps

An XML sitemap is written or generated in XML markup language preferred by search engines. You can submit your site’s XML sitemap to webmaster tools to improve and control your site’s crawling rate by search engines.
An HTML sitemap, on the other hand, is supposed to be geared towards your actual website visitors. It is written or generated in plain HTML, and it usually lists all the pages/posts that are available on your WordPress site.
Now that you know the difference, lets add a HTML sitemap page in WordPress.

Adding an HTML Sitemap With All Posts and Pages

html-sitemap-wordpress (1)

First thing you need to do is install and activate the Hierarchical HTML Sitemap plugin. The plugin works out of the box and there is no settings page for it.
Simply create a new page where you want to display your sitemap. Next, add this simple shortcode inside the content area.
[htmlmap showpages] This is how the plugin will show your sitemap. At top, it will show your categories with the number of posts in each category following by a list of your posts and then finally your pages.

Even though the plugin does not have a settings page, the shortcode itself comes with a number of parameters. This allows you to setup your HTML sitemap in anyway you want. See the plugin’s download page for a full list of parameters, and how to use them.

Creating an HTML Sitemap in WordPress Showing Only Pages

2

Many site owners use WordPress as a CMS with their main content served as pages.
In this case, you would want to your HTML Sitemap to show pages in the proper hierarchical order. Here is how you can add HTML Sitemap with only pages.
First thing you need to do is install and activate the WP Sitemap Page. Upon activation, simply add this shortcode to the page where you want to display your HTML sitemap.
[wp_sitemap_page only=”page” display_title=”false”] This is how it will display your HTML sitemap with all your WordPress pages listed in a hierarchical list.

WP Sitemap Page comes with a lot of options and you can configure them by visiting Settings » WP Sitemap Page in your WordPress admin area.
We hope this article helped you learn how to add an HTML sitemap page in WordPress.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on  Twitter and Facebook.

About the Author Shamsher

Live Instructor-Led online digital marketing trainer, a consultant, and an affiliate marketer with over 8+ years of experience View Course Details if you want to grow your business online or want to learn digital marketing online from anywhere.

follow me on:



Get All The Practical Steps, Tools, Training, And Support You Need To Start A Blog Quickly And Easily...for FREE





Start My FREE 8-Days Blogging Training Today!

I know, you might have thought about starting a blog but never took an action.

In fact, one of the biggest reasons why many bloggers don't even get off the ground is because they suffer from analysis paralysis and they fee lack of confidence when it comes to something online.

I was at your stage 2 years back. But today I am a successful blogger living a freelance lifestyle.

So I have created the 8 Days Blogging Series.

The free 8 Days Blogging Series is meant to give you an overview of successful blogging that nobody else can provide.

For the next 8 days, you are going to get actionable and interesting step by step guide & tips to start your blog.


→ Start the Free 8-Day Blogging Training ←




Leave a Comment:

error: Content is protected !!