Skip to content

Instantly share code, notes, and snippets.

View julienbourdeau's full-sized avatar

Julien Bourdeau julienbourdeau

View GitHub Profile
server {
server_name _DOMAIN_;
root /home/_USER_/www/wordpress;
index index.php;
rewrite ^/sitemap_index\.xml$ /index.php?sitemap=1 last;
rewrite ^/([^/]+?)-sitemap([0-9]+)?\.xml$ /index.php?sitemap=$1&sitemap_n=$2 last;
charset utf-8;