From 24ca33c605201afd613ec82eaa09d54b583b4f32 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Thu, 2 Jun 2016 11:03:35 +0300 Subject: [PATCH] roles/nginx: Disable rules for Yoast SEO Not using Yoast anymore. Now using the much simpler SEO Framework: https://github.com/sybrew/the-seo-framework --- roles/nginx/templates/wordpress.j2 | 5 ----- 1 file changed, 5 deletions(-) diff --git a/roles/nginx/templates/wordpress.j2 b/roles/nginx/templates/wordpress.j2 index fdc151c..872366b 100644 --- a/roles/nginx/templates/wordpress.j2 +++ b/roles/nginx/templates/wordpress.j2 @@ -20,8 +20,3 @@ deny all; } - # Yoast SEO plugin - # https://yoast.com/wordpress/plugins/seo/ - rewrite ^/sitemap_index\.xml$ /index.php?sitemap=1 last; - rewrite ^/([^/]+?)-sitemap([0-9]+)?\.xml$ /index.php?sitemap=$1&sitemap_n=$2 last; -