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:

4 responses to “Create a simple WordPress Sitemap”

  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