[wp-hackers] How to automatically combine sitemaps from Joomla + WP?
wordpress at zed1.com
Fri Dec 9 09:25:05 UTC 2011
On 9 December 2011 08:46, Frank Bueltge <frank at bueltge.de> wrote:
> You have current 2 XMLs as result, parse this via PHP and write an new
> xml for this two sitemaps. For parse use the default of PHP5 or the
> core of WP with SimplePie and to write the sitemap maybe use one of
> this libraryies:
> or https://github.com/MyHammerOpenSource/LargeXMLSitemap
> On Fri, Dec 9, 2011 at 5:23 AM, Mike Schleif <wordpress at helices.org>
> > Hi!
> > I have inherited a Joomla website on which I've attached a WordPress
> > I can get Joomla to give me a sitemap.xml for the Joomla portion of the
> > site.
> > I can get WordPress to give me a sitemap.xml for the WordPress portion of
> > the site.
> > How can I combine these before submitting them to search engines?
You can reference them both from a single index sitemap. See
So you could hand create the index sitemap, add references to your two
individuals ones, and they can continue to be updated automatically.
Submit the index sitemap to the search engines. (Though I should point out
that at least Google Webmaster Tools allows you to submit multiple sitemaps
More information about the wp-hackers