Skip to content

Commit

Permalink
Remove redirects to sitemaps
Browse files Browse the repository at this point in the history
  • Loading branch information
ikennaokpala committed Aug 21, 2016
1 parent 4f83e35 commit b9f4749
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions templates/nginx/configs/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,6 @@ error_page 404 = /error/404;
port_in_redirect off;

rewrite ^/recipe-items/(.*)$ /recipes/$1 permanent;
rewrite ^(/de/detail/)(.*)$ http:// permanent;
rewrite ^/sitemapindex\.xml$ /index.php?sitemap=1 last;
rewrite ^/([^/]+?)_part([0-9]+)?\.xml$ /index.php?sitemap=$1&sitemap_n=$2 last;
rewrite ^/([^/]+?)\.xml$ /index.php?sitemap=$1 last;
rewrite ^/sitemap(-+([a-zA-Z0-9_-]+))?\.xml$ "/index.php?xml_sitemap=params=$2" last;
rewrite ^/sitemap(-+([a-zA-Z0-9_-]+))?\.xml\.gz$ "/index.php?xml_sitemap=params=$2; zip=true" last;
rewrite ^/sitemap(-+([a-zA-Z0-9_-]+))?\.html$ "/index.php?xml_sitemap=params=$2;html=true" last;
rewrite ^/sitemap(-+([a-zA-Z0-9_-]+))?\.html.gz$ "/index.php?xml_sitemap=params=$2;html=true;zip=true" last;
expires 30d;

location / {
Expand Down

0 comments on commit b9f4749

Please sign in to comment.