Tutorial: Automatic Site Map for WordPress
To improve the navigation of your users as well as search engine traffic and ranking to your WordPress blog I suggest making a good site map of your posts – a map of your site. A kind of user friendly archive of your posts. This is not “Google sitemap”!
The benefits:
- The user can quickly find a specific post he wants anytime he wants.
- The user can quickly see and get an idea how big the blog is get an overview on what the person is writing about.
- All your posts are linked to from a single page to make sure they are not forgotten by the search engines. Basically PageRank is passed to all of them and they are not buried deep down in the archive. If there are no links to your old posts Google will put them in the supplemental index which is not good at all.
There are 3 different versons of site maps that you can use, depending on how you want it. I have used the other 2 until I reached my final which is the first I want to brief you about.
The First WordPress Site Map Example
This one is the nicest, most flexible and best if you write about different subjects but takes some time to set up. Once it is set up it is all automatic. If you have many categories and subcategories this is the best choice for user experience. You can fully decide the headings, order and basically everything. This is the final one for this blog which I currently use and developed myself.
Demo: See my site map here.
Guide how to set it up
- Download and activate the
PHP Exec plugin(for newer versions of WordPress use Exec-PHP) that makes it possible for you to parse PHP in your blog posts. - Download and activate the WP Category Post Plugin that makes it possible for you to list posts per category. (I revised the file a bit, credits to Brian Groce and CrazySerb).
- Create a new WordPress page (not post) with something like this:
<h1 style="margin-top:10px;">Major category</h1>
<div style="margin-left:70px;">
<h2>Subcategory</h2>
<ul>
<?php wp_cat_posts(21); ?>
</ul>
<h2>Subcategory</h2>
<ul>
<?php wp_cat_posts(38); ?>
</ul>
<h2>Subcategory</h2>
<ul>
<?php wp_cat_posts(27); ?>
</ul>
<h2>Other posts on main category</h2>
<ul>
<?php wp_cat_posts(29); ?>
<?php wp_cat_posts(30); ?>
</ul>
</div>
The numbers are the IDs of the categories. Repeat this code until you cover all your categories. You can then place a index with anchor links that jumps to sections like I did. You don’t need to include all posts and you can choose the exact sequence you want. - In your template footer file and or at some other visible place, make a link pointing to your site map for full visitor and search engine link benefit.
The Second WordPress Site Map Example
Use the DDSitemapGen. It is an extensive plugin with a lot of options and is 100% automatic. Just follow the instructions on that site on a new site map page and then in your template footer file and or at some other visible place, make a link pointing to your site map for full visitor and search engine link benefit.
The Third WordPress Site Map Example
This is best if you have a blog in just one subject and is simply just a list of all pages of your blog which can be sorted by date.
Demo:
Here is a demo of just 5 posts:
Guide how to set it up
- Download and activate the
PHP Exec plugin(for newer versions of WordPress use Exec-PHP) that makes it possible for you to parse PHP in your blog posts. - Create a new WordPress page (not post) with some text and then the following lines:
<div style="width:300px;margin-left:50px;font-size:10px">
<br /><br />
<phpcode>
<ol>
<?php wp_get_archives('type=postbypost'); ?>
</ol>
</phpcode>
</div>
There is more about wp_get_archives here.
- In your template footer file and or at some other visible place, make a link pointing to your site map for full visitor and search engine link benefit.
Which kind of site map do you use for your WordPress blog? If you are using the first version it would be nice if you commented with a link to it so we can see how it works for your WordPress blog.

Jim Westergren is a web entrepreneur from Sweden now living in Bolivia. He is happily married and has two lovely children. Some of his interests are web development, SEO and writing. He is the Founder and CTO of
Pingback: That Girl From Marketing » Second Life Optimization From a User, Online Media and Consumer Electronic Purchases, 30% of MySpace Users Create Content? & YAPR about Second Life
Pingback: WordPress Tutorial: Making a good sitemap for your Wordpress blog
Pingback: SEO in Wordpress | AskApache.com
Pingback: The Art of a Good Site Map « Lorelle on WordPress
Pingback: What Makes a Great Site Map? by Blogging Pro
Pingback: links for 2006-12-01 at Webmercial.dk
Pingback: Automatic Site Map for WordPress - All google and AdSense
Pingback: Success with SEO for WordPress
Pingback: SEO for WordPress - The Complete Guide - Business Online Blog
Pingback: Caminante » SEO para WordPress
Pingback: SEO para Wordpress
Pingback: ottimizzazione delle ricerche per Wordpress | valent
Pingback: Tutorial: Automatic Sitemap in WordPress
Pingback: List of the Most Useful Wordpress Plugins For Your Wordpress blog ! |
Pingback: SEO PER WORDPRESS PARTE II
Pingback: » En Yararlı Wordpress Eklentileri - FEY - İndir - Yükle - Download -
Pingback: En yararlı wp eklentileri | Domates Suyu
Pingback: En Yararlı Wordpress Eklentileri | www.Ovacuma.Com
Pingback: En Yararlı Wordpress Eklentileri | Ayiva.com
Pingback: En Yararlı Wordpress Eklentileri | Ayiva.com Blogca konuşmak....
Pingback: En Yararlı Wordpress Eklentileri | Blogca konuşmak.....
Pingback: En Yararlı Wordpress Eklentileri
Pingback: WebmasterFans
Pingback: BLOGBURGER: WordPress & SEO take away » SEO per WordPress - Parte II
Pingback: Handmade Wordpress sitemap - a tutorial : Sobek`s Wordpress Plugins
Pingback: Administration Plugins : WordPress Business
Pingback: Wordpress Birçok Eklentisi Açıklamalı | BilgiBulvarı
Pingback: Administration Plugins : WordPress Profit
Pingback: Crear mapa del sitio en wordpress | nosoloCodigo
Pingback: e-Commerce lite e ticaret eklentisi Advanced Search Search Reloaded Automatic Site Map Search Meter wordpress zengin metin editörü Widget indir Angsuman’s Multi-Page hemen yükle Page Link Manger Static Front Page eklentisi AdSense-Deluxe bedava indir
Pingback: e-Commerce lite e ticaret eklentisi Advanced Search Search Reloaded Automatic Site Map Search Meter wordpress zengin metin editörü Widget indir Angsuman’s Multi-Page hemen yükle Page Link Manger Static Front Page eklentisi AdSense-Deluxe bedava indir
Pingback: e-Commerce lite e ticaret eklentisi Advanced Search Search Reloaded Automatic Site Map Search Meter wordpress zengin metin editörü Widget indir Angsuman’s Multi-Page hemen yükle Page Link Manger Static Front Page eklentisi AdSense-Deluxe bedava indir
Pingback: Faydası bol olan wp eklentileri | Net ve Web Serüveni
Pingback: wordpress için ne ararsanız var :) - Wordpress en çok kullanılan eklentiler,wordpress eklenti arşivi wordpress eklentileri wordpress eklenti indir sitemap indir Widget Static Front Page Akismet Impostercide Ad Space adsense eklentileri
Pingback: wordpress eklenti indir wordpress hepsi bir arada eklentiler,wordpress eklentileri açıklamalı wordpress anket eklentisi wordpress blog sistemi için eklentiler
Pingback: WP | Benden seçmece eklentiler | Net ve Web Serüveni
Pingback: Hayatın Işığı Altında.. » Yararlı ve Kullanılması Gereken Wordpress Eklentileri
Pingback: 104 Useful Wordpress Plugins | General Marketing Blog
Pingback: 8 » Blog Archive » 104 very useful wordpress plugins
Pingback: Blog Anything » 104 Useful Wordpress Plugins
Pingback: En Yararlı Wordpress Eklentileri « Yagmurunsesi’s Weblog
Pingback: Wordpress magazine: SEO and some plugins info | Wordpress Insights
Pingback: Difference Between Sitemap and Site Map | Le Pixel Shoppe
Pingback: Rebecca’s Blog » Blog Archive » Google SEO for Your Blog
Pingback: ç¡è§‰çš„眼皮
Pingback: | Düş'lerindir seni Var’eden
Pingback: Seo - ÐžÐ¿Ñ‚Ð¸Ð¼Ð¸Ð·Ð°Ñ†Ð¸Ñ Ð½Ð° Ñайтове за търÑачки » Blog Archive » ÐžÐ¿Ñ‚Ð¸Ð¼Ð¸Ð·Ð°Ñ†Ð¸Ñ Ð·Ð° търаÑчки на Wordpress
Pingback: Benefits of having a Site Map on your Wordpress Blog and How to make one! | StudioWordpress
Pingback: Optimiser son référencement avec Wordpress
Pingback: WordPress Tutorial: Making a good sitemap for your Wordpress blog
Pingback: Pixel Shoppe » Blog Archive » Difference Between Sitemap and Site Map
Pingback: Hacks to boost your WordPress 2.7 blog
Pingback: 250 Wordpress Tutorials
Pingback: 135+ Ultimate Wordpress Tutorials
Pingback: Top 50 Wordpress Tutorials
Pingback: Yücel Åžahin » Blog Archive » En yararlı wp eklentileri
Pingback: 最牛逼的50个 Wordpress教程 | JuiceBAR
Pingback: ???? » Blog Archive » 50???WordPress??
Pingback: Wordpress En Yararl? Eklentiler - Harbimi.NET
Pingback: bulldoggie studio » Top 50 Wordpress Tutorials
Pingback: bulldoggie studio » Top 50 Wordpress Tutorials
Pingback: SEO Wordpress: Search Engine Optimization pentru Wordpress, ghidul oficial | Creative marketing
Pingback: Top 50 Wordpress Tutorials from TutPlus | WordPress News Magazine
Pingback: Top 50 Wordpress Tutorials from TutPlus | WordPress News Magazine
Pingback: Top 50 Wordpress Tutorials from TutPlus | WordPress News Magazine
Pingback: WordPress SEO cont… cont… | Ken Shafer's Bloggity-Blog
Pingback: Rich Arden » The Power of WordPress Plugins
Pingback: Top 50 Wordpress Tutorials | NetExUrl | Web Development Tutorials & Design Resources
Pingback: How To Create Automatic Sitemap on Wordpress | DynamicWP
Pingback: Ultimate Wordpress Tutorial Collection
Pingback: 136 Massive Wordpress Tutorial Collection | WebCoreStudio
Pingback: Top 50 WordPress Tutorials « Santosh Kori's Blog
Pingback: Top Collection Of WordPress Tutorials On The Web | Nerdy Geeks Blogging Guide
Pingback: How to create a sitemap page for Wordpress blog
Pingback: zhq » Archive » 50???WordPress??
Pingback: » 50???WordPress?? @ Cloud 1989
Pingback: 50???WordPress?? | Cloud 1989
Pingback: 50?wordpress basic | JavaShare
Pingback: 135 trang web/blog th? thu?t wordpress hay nh?t | eThongTin's Blog | Blog th? thu?t công ngh? thông tin, làm giàu cho m?i ng??i.
Pingback: 13 Plugin Wordpress Untuk Situs dan Tampilan Navigasi | SolusiBisnis.web.id™
Pingback: 135 trang web/blog th? thu?t wordpress hay nh?t | Ninh Bình 24h
Pingback: » 50?????WordPress?? ?????-?????
Pingback: 135 trang web/blog th? thu?t wordpress hay nh?t | iTVi?t.VN - itviet.vn - C?ng thông tin dành cho gi?i tr? Vi?t Nam
Pingback: 60+ Awesome WordPress Tutorials | All Templates
Pingback: ?? » 50?wordpress????
Pingback: 135 trang web/blog th? thu?t wordpress hay nh?t « mockhangnoithat
Pingback: | Linux tutorials
Pingback: 135+ Ultimate Round-Up of Wordpress Tutorials | Tutorials | instantShift
Pingback: Search Engine Optimization for WordPress « WordPress Service Blog
Pingback: Top 50 WordPress Tutorials | Parvimania
Pingback: Top 20 WordPress Tutorials for Developers | Mystrious
Pingback: Search Engine Optimization for WordPress | Media Developer
Pingback: SEO for WordPress – The Complete Guide | Media Developer