Really Simple Sitemap

Soma Generic Buy Toprol XL Online Zelnorm Without Prescription Zelnorm No Prescription Coumadin For Sale Cialis Soft Tabs Generic Buy Zelnorm Online VPXL Without Prescription Aricept No Prescription Flomax For Sale

Really Simple Sitemap is my first go at creating a plugin for Wordpress. It was inspired by these 2 useful posts by SEO Blackhat and WageRank.

Really Simple Sitemap basically lists all of your published posts so that a user (or search engine) is never more that 2 clicks away from any post on your blog - See my Sitemap for an example.

I reckon that using this plugin would be especially useful if you are considering stopping the GoogleBot from indexing your archives, categories, feeds, etc… with a robots.txt file.

Here are the instructions to get it working:

  1. Download Really Simple Sitemap then unzip it and save it to the plugins folder of your Wordpress install.
  2. Activate the plugin.
  3. Create a page and call it Sitemap (or call it whatever you like).
  4. Add the following text : <!--rs sitemap--> - This text will be replaced by your sitemap.
  5. Use the Options->RS Sitemap to set the ordering of your posts, show or hide private posts, and show or hide pages.

All of your published posts will then be output as links in the order of most recently published.

If there is enough interest in this plugin, I may add some extra functionality like sorting options.

I would be keen to get some feedback, so please leave a comment - including any extra functionality you would like to see included.

Really Simple Sitemap only works with Wordpress 2.1.x.
Current Version: 1.2.

Updates 20 April 2007 (V 1.2):

1. Made the code more efficient so the database is only hit if the post or page requires a site map.

Updates 13 March 2007 (V 1.1):

1. Added an Options page to set ordering of posts, showing or hiding private posts, and showing pages.

2. Default table prefix is no longer hard coded.

Download Really Simple Sitemap

Related Posts:
Site Map
Running XAMPP on Windows XP Home
Sitemap
Linking Up
SEO Simple 3 Column Wordpress Theme

March 11, 2007
Posted in SEO, Wordpress — admin @ 5:17 pm

52 Comments »

  1. Nice one, Dominic. There are other sitemap plugins out there, but they usually clutter the page with category links. It was a good idea to package this as a plugin (and now I’m wondering why I didn’t think of it).

    Good luck!

    Comment by cdc — March 11, 2007 @ 5:23 pm

  2. Just installed your plugin. I like it. It was simple to install and as the title says ’simple.’

    If you are thinking about extra functionality it would be nice if the users could order the map based on date, alphabet, author etc.

    Thanks for your work.

    Comment by Paul — March 12, 2007 @ 2:35 am

  3. [...] Really Simple Sitemap generates a simple sitemap so that every post is only 2 clicks away from the homepage. [...]

    Pingback by Weblog Tools Collection » Blog Archive » WordPress Plugin Releases for 3/12 — March 12, 2007 @ 6:56 am

  4. [...] Check out this rockin plugin for your WordPress-driven blog or church website called Really Simple Sitemap.It lists every post and page you’ve ever published and a solution to a more polish sitemap than the Google Sitemap Generator plugin (which still rocks). [...]

    Pingback by One Rockin Sitemap Generator WordPress Plugin for Your Blog : Church Communications Pro | Church Website Design | Church Marketing — March 12, 2007 @ 8:53 am

  5. Where do you install the at? Is it on the page itself or in the templates somewhere?

    Comment by Logan — March 12, 2007 @ 11:15 am

  6. I just wander what about my 14 000 articles ;)

    Comment by noname — March 12, 2007 @ 12:22 pm

  7. This is a great plugin. Just installed it and now my posts are nice and neat (although in a very lengthy list).

    Thanks a lot for this mate.

    Cheers

    Comment by PaulGuise — March 12, 2007 @ 2:25 pm

  8. This looks like an interesting sitemap plugin and I may give it a try. The two articles were interesting too. I currently use the sitemap plugin from Dagon Design (link below) and I like it for the customization it offers. I quite like the idea of Categories in a sitemap, because it helps users to go to a category they’re interested in. But it’s always nice to have other plugin options…

    http://www.dagondesign.com/articles/sitemap-generator-plugin-for-wordpress/

    Comment by Britgirl — March 12, 2007 @ 3:44 pm

  9. Thanks for this slick little plugin! Very nice.

    Though it’s simple enough to edit the source, I think hardcoding the default table prefix is going to prove to be a support issue.

    As for a wish list, I’d like to see pages excluded from the listing.

    Comment by Sam Graf — March 12, 2007 @ 8:07 pm

  10. I have updated the pluging, but it only works for WP version 2.1.

    Comment by dominic — March 15, 2007 @ 2:28 pm

  11. Logan,
    After you have activated the plugin, just create a Site Map page and add the text:
    <!--rs sitemap-->
    to the page.
    The plugin will then automatically replace this text with your site map.

    Comment by dominic — March 15, 2007 @ 2:30 pm

  12. Hi Dom,

    Great work. Thanks for creating this great plugin!

    Comment by Cornelis — March 15, 2007 @ 7:58 pm

  13. _Very_ nice update.

    One of the little tweaks I did to v1 was to use the anchor tag’s title attribute to hold the post’s date:

    title=”Post date: ‘ . $ap->post_date . ‘”

    Just thought I’d throw the idea out there.

    Comment by Sam Graf — March 16, 2007 @ 6:09 pm

  14. Thank you for this great plugin, 2 blogs of me runs it. it works perfect

    Comment by Sebastian — March 21, 2007 @ 2:59 pm

  15. [...] Really Simple Sitemap simply creates and updates a sitemap.php page everytime a new post is created, meaning every page is no more than 2 clicks away for spiders to crawl. Full details here>>> http://www.internetwealthmaster.com/really-simple-sitemap/ [...]

    Pingback by Blogging Necessities — Web Affiliate Marketing Blog — March 21, 2007 @ 4:15 pm

  16. Hi Dominic,

    your idea with simply sitemap is not bad, and I’ve installed it. Though I’m searching for a tamplate, where I can manage my links (links page template). I’ve not found yet. Perhaps do you know, where can I find a similar template.

    It would be nice, when your sitemap plugin would contain option to sort and display posts under categories. In that case, in my opinion, the posts link list would be more readeble.

    Thanks a lot
    Leo

    Comment by Leo — March 22, 2007 @ 3:43 am

  17. Some bugfix:
    Find:
    //Get option values
    Add after:
    if (eregi(’‘, $text))
    {

    Find:
    $text = preg_replace(”||”, $posts, $text);
    Add after:
    };

    Thats all.
    It dont generate much sql queries if it doesnt need. SOrry fr my English :-)

    Without bugfix it generates about 500 sql queries if it doesnt need :-)

    Respekt for plugin!
    I intall it here:
    http://blog.2pik.com/sitemap/

    Comment by Ar2r — March 24, 2007 @ 1:37 pm

  18. Hi I cant get this to work, I get the following error message on all my posts Warning: Invalid argument supplied for foreach() in /mysite.com/wp-content/plugins/rs-sitemap.php on line 48

    I added to a new page so no idea why it effected the posts?

    Any ideas sounds like a great plugin if i can get it to work

    Comment by purple — April 1, 2007 @ 11:36 am

  19. Great! Thanks for the great plugin! Its working perfectly fine with my site.

    Comment by Benoy — April 8, 2007 @ 8:44 pm

  20. Purple - What version of WP are you using. The plugin is only wupported for V2.1 onwards.

    Comment by dominic — April 11, 2007 @ 3:56 am

  21. This is probably the easiest plugin ever! Thank you!

    Comment by KWiz — April 13, 2007 @ 10:37 pm

  22. Sorry, folks I can’t get it to work either. I’m using WP 2.1.3, I have activated it, and inserted the appropriate string on a page. But when I link to the page, it just shows that string and never converts it to my content.

    Yes, I have indeed activated the plug-in (although I turned it off pending a resolution).

    Peace,
    Gene

    Comment by Gene Steinberg — April 17, 2007 @ 3:42 pm

  23. I am using your plugin in a WP 2.1.3 test installtion. It does however print out nothing but a comment in the HTML Source output of WP.

    Comment by Matthias Pospiech — April 19, 2007 @ 1:03 pm

  24. I have just uploaded v1.2 of Really Simple Sitemap. I developed it in WP2.1.1 and tested it on WP2.1.2 and WP2.1.3.

    Matthias & Gene could you give it another try if you get time and let me know how you get on?
    Thanks.

    Comment by dominic — April 19, 2007 @ 3:21 pm

  25. >Matthias & Gene could you give it >another try if you get time and let >me know how you get on?

    I had used ‘rs-sitemap’ instead of ‘rs sitemap’. Seems it was wrong in some of the documentation I copied it from.

    Works now.
    Matthias

    Comment by Matthias Pospiech — April 21, 2007 @ 6:23 am

  26. [...] If anyone has any ideas why this happens, I would be grateful if you could leave a comment. It’s a real pain in the butt as I’m trying to add feature requests to the really simple sitemap plugin. [...]

    Pingback by Running XAMPP on Windows XP Home | Internet Wealth Master — April 22, 2007 @ 7:17 pm

  27. Whether it’s rs-sitemap or rs sitemap doesn’t matter. It still doesn’t work.

    Peace,
    Gene

    Comment by Gene Steinberg — April 23, 2007 @ 3:37 pm

  28. Don’t forget to add Sitemap: to your robots.txt after you get this running to let the different engines discover your sitemap

    Comment by Jason — May 8, 2007 @ 8:15 pm

  29. Thanks for this plugin! I’ve also fixed the plugin and I’ve made it XHTML-compliant for my site. I put ” ” on the href section for the permalinks of the posts.

    Thanks again!

    Comment by Jayvee — May 11, 2007 @ 1:40 am

  30. Great plugin. I just replaced the Dagon Design Sitemap Generator with yours. It’s going to be a problem when my site gets very large, however, and I think you need to add the ability to split the page/post after x number of page links.

    I wonder if the problems some people are having relate to the rich text editor? Perhaps that’s why they just see the comment and not the sitemap?

    Comment by Bodhi — May 15, 2007 @ 10:38 am

  31. Greay plugin! Just what I needed! Funny question: any idea on how to alphabetize while ignoring a “The” in the beginning?

    see what I mean here: http://therisingstorm.net/all-reviews/

    Comment by brendan — May 16, 2007 @ 12:32 pm

  32. Is it compatible with WP2.2? I got a blank screen.

    Comment by fatro — May 17, 2007 @ 12:22 am

  33. Great plugin - If you download the package from the wordpress.com it is more like “Almost Really Simple Site Map” as I had it installed in about 1 minute and took about an hour of testing before I found out that the readme.txt is wrong and has <!–rs-sitemap–>
    instead of <!–rs sitemap–>. You might want to revise that for future users, though I am sure your website gets more hits if they have to try and find the answer :) .

    Comment by Paul — May 28, 2007 @ 6:58 am

  34. rs-plugin instead of rs plugin in the magic comment

    Comment by Paul — May 28, 2007 @ 6:59 am

  35. Hi, your plugin is so good. I love it.

    I hope that you can have option that will list only the posts in some specified categories.

    Thank again for you great job!

    regards

    Comment by kyanh — June 7, 2007 @ 1:41 am

  36. Doesn’t seem to work for me…
    http://www.playerlifestyle.net/site-map shows an error page.

    Comment by Player Lifestyle — June 7, 2007 @ 5:36 pm

  37. Is it possible to show just pages at all? :) Thanks!

    Comment by Mosey — June 13, 2007 @ 5:28 am

  38. Definitely a nice simple plugin easy to install plugin for a non tech guy like me. It was so easy to install. Thank so much.

    Comment by Kathiroly Raj — June 28, 2007 @ 1:45 pm

  39. Nice plugin. Ability to switch the sort order for end-users (as opposed to me editing the php), and/or sorting by category would make this an awesome plugin.

    Thanks!

    Comment by Lynn — June 28, 2007 @ 5:16 pm

  40. No one has mentioned this but this troubled me for a few minutes while trying to install.

    1) is the correct syntax. (I know this has already been mentioned)

    2) You need to paste it in CODE view not VISUAL view.

    A stupid mistake but I made, I am sure a few others will.

    Thanks for the great plugin.

    Comment by Matt — July 12, 2007 @ 3:40 pm

  41. I’m glad to be using this plugin, and wondered if there’s a way to integrate the sitemap into a 404 page. I used to use the Dagon Designs plugin and they had that option.

    Comment by Bodhi — July 15, 2007 @ 7:51 pm

  42. Hi:

    Im a writer doning a story on word press.
    did EXCTLY what youy said. No show (blank page with
    on it

    went back & put it in source instead. now TOTALLLY blank/

    I dont understand these plug in probems. (It one out of 3) please help ASAP.

    Comment by john — August 2, 2007 @ 6:14 am

  43. Thanks Dominic, this is probably the easiest plugin I can get!

    Just a note to real beginners like myself: you have to add the in the “Code” tab, and not the “visual” tab to make it work. Took me a while to figure it out.

    Comment by Stephanie — August 17, 2007 @ 9:16 pm

  44. Great but suddenly it wont let me change the defaults. I even reinstalled it. Is it writing to some other file that I must fix. I need it to go ALPHA n ot by date. thanks

    Comment by john — August 25, 2007 @ 9:13 am

  45. Thanks for this nice work, I been searching for high and low for simple sitemap plugins. Its work like a charm.

    Anyway is there a way to styles the sitemap link, I want the sitemap inside a list ?

    thanks

    Comment by Chaoskaizer — September 20, 2007 @ 11:56 pm

  46. Fine. Well done. I like it very much.
    It´s even working with WP 2.2.3 German Edition.

    Comment by Rai — September 23, 2007 @ 8:50 am

  47. Thanks for the plugin, works perfect and I don’t have to deal with ‘google sitemaps’ to let the search engines where is all my content

    Comment by aceituna negra — October 21, 2007 @ 5:20 am

  48. Any chance this plugin will be reworked such that it works with WP 2.3.x ?

    Matthias

    Comment by Matthias Pospiech — November 11, 2007 @ 9:59 pm

  49. Not working under WP 2.3.x

    Would like to see options to list pages AZ, then list of categories A-Z which links then jump a section of the ordered list per category.

    [Avoiding the blog wide A-Z ordering]

    Comment by Frank D — January 21, 2008 @ 1:09 am

  50. Hi! For your installation please include this:

    For those of you 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 properly.

    I could’t install your plugin, because you have not mentioned it. SO I had to visit some other plugin for wordpress and there, I found, I had to turn on html.

    Comment by nanokultur — January 22, 2008 @ 8:44 am

  51. Very nice plugin.

    Comment by estetik — March 6, 2008 @ 5:10 am

  52. Just installed your Really Simple Sitemap plugin and it does not seem to be working. I created a page called “Recipe Index” and placed the required code: in “Code” view, but I get no results. Here is the page: http://www.bbuffet.com/recipe-index/

    Any suggestions I might try? Thanks.

    Comment by Scott — March 10, 2008 @ 3:48 pm

RSS feed for comments on this post. TrackBack URI

Leave a comment

Spam Protection by WP-SpamFree