• I’ve added the rewrites to my vhost file:
    rewrite ^/sitemap_index.xml$ /index.php?sitemap=1 last;
    rewrite ^/([^/]+?)-sitemap([0-9]+)?.xml$ /index.php?sitemap=$1&sitemap_n=$2 last;

    And all that comes up is a blank page when visiting .com/sitemap_index.xml

    I’ve restarted nginx several times, rebooted my server, verified the rewrites are correct and nothing works.

    Any ideas?

    Thank you

    https://www.ads-software.com/plugins/wordpress-seo/

Viewing 1 replies (of 1 total)
  • Thread Starter jennifer2010

    (@jennifer2010)

    I viewed the page source in Chrome and see that it is being generated, but it’s not being displayed on the page (just a blank white page). I went to the post sitemap as well to check and it’s also a blank white page, while the source code does reveal the sitemap data…

Viewing 1 replies (of 1 total)
  • The topic ‘WordPress SEO XML Sitemap Not Working w/ NGINX’ is closed to new replies.