WordPress.org

Forums

Yoast SEO
XML sitemap not working (1 post)

  1. OC2PS
    Member
    Posted 2 years ago #

    Getting 404 Not Found
    e.g. http://hennalap.com/sitemap_index.xml

    I am using nginx and have added to server block in nginx.conf

    rewrite ^/sitemap_index\.xml$ /index.php?sitemap=1 last;
    rewrite ^/([^/]+?)-sitemap([0-9]+)?\.xml$ /index.php?sitemap=$1&sitemap_n=$2 last;

    http://wordpress.org/extend/plugins/wordpress-seo/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Yoast SEO
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.