Support » Plugin: XML Sitemap & Google News feeds » [Plugin: XML Sitemap Feed] Sitemap not working for all sites on WP Multisite

Viewing 1 replies (of 1 total)
  • Plugin Author RavanH



    Looking at your main site, I notice the articles are all gathered from sub-sites. This would result in an XML Sitemap containing urls that are considered as ‘outside’ urls, which would make the sitemap invalid. But the fact that even the home URL is missing, suggest there is another problem occurring somewhere along the line…

    Do you have access to your servers error log files? If so, do you see any messages in the PHP error log after trying to load the sitemap?

    The error showing in sitemap indicates your server needs more PHP memory to process all the posts on that sub-site. Do you know how much memory is allowed for PHP processes on your server?

    You are not the only one encountering this error so I have a workaround in the development version (3.9) that tries to increase the memory limit to 128MB (if not already that high) but it depends on your hosts setup if the increase is accepted. Also, 128MB might even be too little on some VERY large sites… Could you upgrade to the Development version on and let me know if that solves the issue?

    To increase the memory limit manually – depending on your providers server setup – you have several options:
    1. Increase the memory_limit value in your php.ini file to 128M ( see example tutorial for BlueHost users on )
    2. Add php_value memory_limit 128M to your .htaccess file.
    3. Add define('WP_MEMORY_LIMIT', '128M'); to your sites wp-config.php file.
    (example uses 128MB as limit, adjust if needed)

    Cheers 🙂

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: XML Sitemap Feed] Sitemap not working for all sites on WP Multisite’ is closed to new replies.