Create a simple WordPress Sitemap

Hi, today i give you a quick method to create a simple sitemap page for your WordPress page. As you’ll see it only will take you a few minutes to do it. Let’s go !

First thing to do is to go inside your theme folder, it’s under wp-content/themes. Then duplicate the page.php file and rename it something like template-sitemap.php.

Then, open it in any code editor and add at the very first line this between PHP tags:

Template Name: Sitemap

and then simply replace the_content() by this code:

About the author

Remi Hey! My name is Rémi Corson, I'm a French WordPress Developer, I code stuff and I write from time to time ;-) Buy a coffee
Show your support

Related Posts


  1. Wow its great to have site like your nice work to give us how it woking I am also helping others to tell them how to create a site. Thanks again .

  2. samad:

    thanks for the guide… Really helped a lot!!

  3. […] una pagina es: page-sitemap nella root del tema e inserisci il contenuto di questa guida:…press-sitemap/ WordPressStyle – Risorse tutorial & more Rispondi […]

  4. […] The Fix: Adding a site map for users is relatively simple and there are many tools you can use to help with the creation. Consider these three tools when creating a user site map: Yoast, Google XML Sitemap or build your own. […]

Leave a Reply