The Latest Articles:

I wanted a sitemap on our Tucson Real Estate blog. I went looking on the WordPress plugin section site.  I found Dagon Design sitemap plugin easy to install and configure and it does exactly what I wanted it to do.  You can see it at work on the Sitemap page in the right navigation.

Here are the simple steps to putting a sitemap on your WordPress blog.

Installation

  • Download dd-sitemap-gen.txt and rename it to dd-sitemap-gen.php
  • Upload the file to the plugins folder of your WordPress installation
  • Activate the plugin in your Plugins administration panel
  • Configure the plugin in the Options panel (under DDSitemapGen)
  • Create a New Page, Title: Sitemap, place the code below on the page using the HTML* window and save:

         code snippit

*Note: For Wordpress 2.0 users who are using the new rich-text editor – be sure to click the ‘html’ button to edit the page source directly. Otherwise Wordpress will wrap code tags around the line which generates the sitemap and it will not work. 

You can actually put that code anywhere and it will generate the sitemap, but if you want to keep it simple and not have to add this code whenever you change a theme this is the way I suggest you do it. 

I would also suggest you set the options for pages to 0 so it will display on a single page.  There are some SEO reasons for this. 

I also turned off the option to display a post only in the first category.  I want people to be able to find a post in any of the categories associated with that post.

You will notice you can’t swipe and copy the code above.  It is a graphic since I don’t know how to display PHP code in a post.

Any help out there on code display in a post would be greatly appreciated.