XML Sitemap for Wordpress

drumltd

Regular Member
Joined
Dec 4, 2008
Messages
475
Reaction score
13
Can anybody recommend a decent sitemap generator for Wordpress?

Ive tried Google XML Sitemap Plugin but that generates a new sitemap everytime a new map everytime a new post is added, and on busy sites, this is killing the server.

So Then I tried XML Sitemap Feed Plugin but this can't handle very large sites, and just produces a blank corupt file.

Anybody recommend one that produces dynamic content only when requested, can handle large WP systems, and is preferably compatible with caching?
 
I Use sitemap index
Code:
wordpress.org/extend/plugins/sitemap-index/
Very simple to use and doesn't generate an XML file, is a php file that generates the sitemap on request. I use .htaccess to map the sitemap.xml to the php file.
 
Thanks, Just what I was looking for.
 
Although I also customized the php code so that it produces, links based around \sitemap.xml rather than deep in the wp-content\plugins director where it's blocked by robots.txt.

Quite a simple fix, I'll just have to remember to do it again, if it ever gets updated.
 
I don't understand what you say [My english is very bad :) ]. But this is what i use in my .htaccess to redirect sitemap.xml to the php file

Code:
<IfModule mod_rewrite.c>
RewriteRule ^sitemap\.xml /wp-content/plugins/sitemap-index/gen_sitemap.php?s=0 [L]
</IfModule>
 
I Use sitemap index
Code:
wordpress.org/extend/plugins/sitemap-index/
Very simple to use and doesn't generate an XML file, is a php file that generates the sitemap on request. I use .htaccess to map the sitemap.xml to the php file.
Thanks for that mate! I was also looking for something simialr! :D
 
I don't understand what you say [My english is very bad :) ]. But this is what i use in my .htaccess to redirect sitemap.xml to the php file

Code:
<IfModule mod_rewrite.c>
RewriteRule ^sitemap\.xml /wp-content/plugins/sitemap-index/gen_sitemap.php?s=0 [L]
</IfModule>

I use something very similar, however you will find that if you have to many pages to index, the sitemap actually becomes, a sitemap index (i.e. and index of smaller maps) The standard plugin has path to these as been in wth original plugin directory. So I take advantage of slightly different rewrite rule, and also rewrite these from a \sitemap.xml?paramxxx to the correct path, so that they bypass the robots.txt rules, that don't allow spiders into those directories.

Hope that explains what I meant.
 
I understand now, yes you are right if your sitemap becomes larger than the configuration entries it generates a sitemap index.

But as my sitemaps are short i never took a look at that.
 
Use Google XML Sitemap Plugin.

Uncheck the option "Rebuild sitemap if you change the content of your blog".
 
Use Google XML Sitemap Plugin.

Uncheck the option "Rebuild sitemap if you change the content of your blog".

Doesn't that meen you've got to rebuild it manually, and inbetween times have a blog that is out of date?
 
i've tried this..but never wanted to share.. pretty boring
 
Back
Top