Welcome! Log In Create A New Profile

Advanced

Re: RE: SEO gone mad...

October 13, 2015 07:19AM
Lukas Tribus Wrote:
-------------------------------------------------------
> But *not* with "/".

You can, see my map example, used here to redirect http to https except root (/).
site.com => tell user we've gone to ssl in plain http
site.com/ => tell user we've gone to ssl in plain http
site.com/support => 301 redirect to ssl

The challenge here is to redirect without ending up in a loop as "name" and "name/" are different to map but the same to a location block.

Maybe instead of a 301 do a rewrite/break, ea. "/" => "/index.html".

---
nginx for Windows http://nginx-win.ecsds.eu/
Subject Author Posted

SEO gone mad...

GreenGecko October 12, 2015 04:00PM

Re: SEO gone mad...

Aleksandar Lazic October 12, 2015 05:20PM

Re: SEO gone mad...

Fireye00 October 12, 2015 05:28PM

Re: SEO gone mad...

itpp2012 October 12, 2015 05:54PM

Re: SEO gone mad...

GreenGecko October 12, 2015 06:16PM

Re: SEO gone mad...

Aleksandar Lazic October 13, 2015 05:02AM

Re: SEO gone mad...

Francis Daly October 13, 2015 08:26AM

RE: SEO gone mad...

Lukas Tribus October 13, 2015 06:22AM

Re: RE: SEO gone mad...

itpp2012 October 13, 2015 07:19AM

RE: SEO gone mad...

Lukas Tribus October 13, 2015 08:12AM

Re: RE: SEO gone mad...

itpp2012 October 13, 2015 08:58AM

Re: SEO gone mad...

Gena Makhomed October 13, 2015 10:14AM

Re: SEO gone mad...

Andrew Hutchings October 13, 2015 09:10AM

Re: SEO gone mad...

Patrick Nommensen October 13, 2015 10:18AM

Re: SEO gone mad...

GreenGecko October 13, 2015 03:40PM

Re: SEO gone mad...

nanaya October 13, 2015 03:48PM

Re: SEO gone mad...

GreenGecko October 13, 2015 04:00PM

Re: SEO gone mad...

nanaya October 13, 2015 04:04PM

Re: SEO gone mad...

GreenGecko October 13, 2015 04:14PM

Re: SEO gone mad...

nanaya October 13, 2015 04:16PM

Re: SEO gone mad...

nanaya October 13, 2015 04:22PM

Re: SEO gone mad...

Aleksandar Lazic October 13, 2015 05:48PM

Re: SEO gone mad...

Aleksandar Lazic October 13, 2015 04:48PM

Re: SEO gone mad...

nanaya October 13, 2015 09:48AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 82
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready