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
This commit is contained in:
parent
1ed7d45c7f
commit
24ca33c605
@ -20,8 +20,3 @@
|
|||||||
deny all;
|
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;
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user