Title: Jono Warren's Replies | WordPress.org

---

# Jono Warren

  [  ](https://wordpress.org/support/users/nmec/)

 *   [Profile](https://wordpress.org/support/users/nmec/)
 *   [Topics Started](https://wordpress.org/support/users/nmec/topics/)
 *   [Replies Created](https://wordpress.org/support/users/nmec/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/nmec/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/nmec/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/nmec/engagements/)
 *   [Favorites](https://wordpress.org/support/users/nmec/favorites/)

 Search replies:

## Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Jetpack - WP Security, Backup, Speed, & Growth] Checking for infinite scroll JS variables](https://wordpress.org/support/topic/checking-for-infinite-scroll-js-variables/)
 *  Thread Starter [Jono Warren](https://wordpress.org/support/users/nmec/)
 * (@nmec)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/checking-for-infinite-scroll-js-variables/#post-3725013)
 * No problem, thanks for getting back to me.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[W3 Total Cache] [Plugin: W3 Total Cache] Moving wp-content folder outside of wordpress root](https://wordpress.org/support/topic/plugin-w3-total-cache-moving-wp-content-folder-outside-of-wordpress-root/)
 *  [Jono Warren](https://wordpress.org/support/users/nmec/)
 * (@nmec)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-moving-wp-content-folder-outside-of-wordpress-root/#post-2612404)
 * +1 on this issue, symlinking doesn’t work as the minified files aren’t generated,
   just the `.files` and `.id` files.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Yoast SEO - Advanced SEO with real-time guidance and built-in AI] [Plugin: WordPress SEO by Yoast] FIX for sitemap_index.xml 404 error](https://wordpress.org/support/topic/plugin-wordpress-seo-by-yoast-fix-for-sitemap_indexxml-404-error/)
 *  [Jono Warren](https://wordpress.org/support/users/nmec/)
 * (@nmec)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-wordpress-seo-by-yoast-fix-for-sitemap_indexxml-404-error/page/2/#post-2352255)
 * Hi Kredacter, glad to hear you got it working. All we’re doing with this fix 
   is telling the server to redirect the requests for the sitemaps to PHP. To get
   it working with the news module you’ll have to:
 * 1. Find the sitemap name
    2. Find the PHP query string it should be redirected
   to 3. Figure out the rewrite rule and add it your server block
 * I haven’t used the news module so I don’t know what those things are, contacting
   the plugin author might be easiest: [http://yoast.com/contact/](http://yoast.com/contact/)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Yoast SEO - Advanced SEO with real-time guidance and built-in AI] [Plugin: WordPress SEO by Yoast] FIX for sitemap_index.xml 404 error](https://wordpress.org/support/topic/plugin-wordpress-seo-by-yoast-fix-for-sitemap_indexxml-404-error/)
 *  [Jono Warren](https://wordpress.org/support/users/nmec/)
 * (@nmec)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-wordpress-seo-by-yoast-fix-for-sitemap_indexxml-404-error/#post-2352249)
 * Kredacter,
 * You should insert the code in the server block for the site you want it work 
   on, in my case I have multiple sites on one server so use multiple config files
   in my `sites-available` folder. You may have a single site configured in your
   main `nginx.conf`.
 * So your server block should look something like this:
 *     ```
       server {
   
       	server_name  YourDomain.com;
       	root   /var/www/YourDomain/public;
   
       	#	Fix Yoast SEO Sitemaps
               rewrite ^/sitemap_index\.xml$ /index.php?sitemap=1 last;
       	rewrite ^/([^/]+?)-sitemap([0-9]+)?\.xml$ /index.php?sitemap=$1&sitemap_n=$2 last;
       }
       ```
   
 * Then you just need to tell nginx to re-read it’s config files. In Ubuntu use 
   the command `service nginx reload`. Hope that helps.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Yoast SEO - Advanced SEO with real-time guidance and built-in AI] [Plugin: WordPress SEO by Yoast] FIX for sitemap_index.xml 404 error](https://wordpress.org/support/topic/plugin-wordpress-seo-by-yoast-fix-for-sitemap_indexxml-404-error/)
 *  [Jono Warren](https://wordpress.org/support/users/nmec/)
 * (@nmec)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-wordpress-seo-by-yoast-fix-for-sitemap_indexxml-404-error/#post-2352246)
 * Hmm, maybe something to do with `fastcgi_intercept_errors`?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Yoast SEO - Advanced SEO with real-time guidance and built-in AI] [Plugin: WordPress SEO by Yoast] Category exclude from sitemap](https://wordpress.org/support/topic/plugin-wordpress-seo-by-yoast-category-exclude-from-sitemap/)
 *  [Jono Warren](https://wordpress.org/support/users/nmec/)
 * (@nmec)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-wordpress-seo-by-yoast-category-exclude-from-sitemap/#post-1971704)
 * +1 For this. Excluding categories from the sitemap only seems to exclude the 
   category from the category-sitemap, not the posts in that category from the posts-
   sitemap. If that makes sense?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Yoast SEO - Advanced SEO with real-time guidance and built-in AI] [Plugin: WordPress SEO by Yoast] FIX for sitemap_index.xml 404 error](https://wordpress.org/support/topic/plugin-wordpress-seo-by-yoast-fix-for-sitemap_indexxml-404-error/)
 *  [Jono Warren](https://wordpress.org/support/users/nmec/)
 * (@nmec)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-wordpress-seo-by-yoast-fix-for-sitemap_indexxml-404-error/#post-2352229)
 * This has been frustrating me for ages, so thanks for finding a solution. I’ve
   adapted it for use with nginx, just add the following to the server block:
 *     ```
       rewrite ^/sitemap_index\.xml$ /index.php?sitemap=1 last;
       rewrite ^/([^/]+?)-sitemap([0-9]+)?\.xml$ /index.php?sitemap=$1&sitemap_n=$2 last;
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WordPress Beta Tester] [Plugin: WordPress Beta Tester] Doesn't work for 3.3 beta1](https://wordpress.org/support/topic/plugin-wordpress-beta-tester-doesnt-work-for-33-beta1/)
 *  [Jono Warren](https://wordpress.org/support/users/nmec/)
 * (@nmec)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-wordpress-beta-tester-doesnt-work-for-33-beta1/#post-2341251)
 * Yup, same here.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[W3 Total Cache] [Plugin: W3 Total Cache] Fingerprinting minified files](https://wordpress.org/support/topic/plugin-w3-total-cache-fingerprinting-minified-files/)
 *  Thread Starter [Jono Warren](https://wordpress.org/support/users/nmec/)
 * (@nmec)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-fingerprinting-minified-files/#post-1994204)
 * Brilliant, thanks for letting me know. Keep up the good work.

Viewing 9 replies - 1 through 9 (of 9 total)