HTML sitemap w/o a WP Plugin

Have you heard about HTML sitemap? Well, it offers easy navigation for your website visitors. To be more precise, it’s the bulleted outline text version of a website. The visitors can use the sitemap to easily find/locate any topic which they can’t find searching through the whole website menus. The best part is that HTML sitemap is both user-friendly and search engine friendly. In fact, Google’s department of Web team has already acknowledged the significance and importance of HTML sitemap.

HTML sitemap
HTML sitemap

Well, you have already revealed the importance of HTML sitemap in the previous section. Are you now quite keen to know how to create an HTML sitemap? Please note that HTML sitemap can be created using a WP plugin. Alternatively, it can also be created without using a WP plugin. So, which should be your preferred choice of option when it comes to creating an HTML sitemap? Well, the second approach (i.e. creating an HTML sitemap without using any external or third-party WP plugin) has various advantages which are briefly discussed below.

Key Advantages of Creating an HTML Sitemap w/o a WP Plugin

i) It offers better security and lesser threats to website hacks/vulnerability. That’s primarily because the WP plugins are the significant source of website spams and hacks.

ii) The WP plugins are not correctly maintained and updated. Specifically, this becomes an annoying problem when a new version of WordPress comes out, and the plugins are not updated.

iii) Often, these WP plugins do not work according to your requirements.

Considering these problems, you should now consider creating the HTML sitemap w/o using a WP plugin. The process is quite easy, simple, and hassle-free. For your quick reference, the step-by-step instructions on how to:

Create an HTML sitemap w/o a WP Plugin

Create an HTML Sitemap w/o a WP Plugin with 4 Easy Steps

Step 1 — Create an HTML sitemap template file: This is the very first step where you will need to create an HTML sitemap template file. You can add the new file via FTP.

Step 2 — Copy and Paste the Code into a template page, for this I name the file sitemap.php

Step 3 — Edit the Code: Please replace the content of with the below code snippet.

Note, you can also add a comment to the HTML sitemap template file (if required).

Step 4 — Publish your WP HTML sitemap page: If you are already logged into your WP Dashboard, then please click on Pages >> Add New. This will allow you to create a new WordPress page. Now, make sure to check sitemap template is selected in the Page Attributes dropdown box. Finally, click on the Publish button. That’s it. You can now play around and customize your WP HTML sitemap template as per your preference.

Isaac Adams-Hands

Full Stack Developer, Digital Marketer, and InfoSec enthusiast. He received his Bachelor’s Degree from the University of Western Sydney and his Business Diploma from Georgian College before joining various marketing positions in search portals, e-commerce, higher education, and addiction recovery services.

Follow @ twitter

Related posts

Full size thumbnail image w/ alt tag title

Here is a quick example of how to add a large thumbnail image with the title as the Alt Tag attribute Alt Tag attribute <?php the_post_thumbnail( ‘large’, array( ‘title’ => get_the_title() ) ); ?> You can replace ‘large’ with thumbnail, medium, medium_large, & full.

Add a shortcode to add_shortcode in functions.php

This drove me a little crazy one afternoon. I had to add a gravity forms shortcode to a new add_shortcode script in functions.php To accomplish this, I added this to my code: ‘ . do_shortcode($content) . ‘ Here is how it looks in its working example. I work best by watching. Too many people just… Read More