Home > Wordpress > Google XML Sitemaps is not multisite compatible

Google XML Sitemaps is not multisite compatible

“Google XML Sitemaps is not multisite compatible” :(

I’ll be very happy when it’s available for WP 3.0 multi-user too!

I make changes for start it work:

1.Modification on wp-content/plugins/google-sitemap-generator/sitemap.php

//Check for 3.0 multisite, NOT supported yet! // if((defined(‘WP_ALLOW_MULTISITE’) && WP_ALLOW_MULTISITE) || (function_exists(‘is_multisite’) && is_multisite())) { // if(function_exists(‘is_super_admin’) && is_super_admin()) { // add_action(‘admin_notices’, array(‘GoogleSitemapGeneratorLoader’, ‘AddMultisiteWarning’)); // } // // return; // }

2. .htaccess

RewriteRule ^sitemap.xml sitemap-%{SERVER_NAME}.xml [L]
RewriteRule ^sitemap.xml.gz sitemap-%{SERVER_NAME}.xml.gz [L]

Categories: Wordpress Tags: , ,
  1. No comments yet.
  1. No trackbacks yet.
You must be logged in to post a comment.