Welcome! Log In Create A New Profile

Advanced

301 Redirect from www version to non www.

March 23, 2018 03:06PM
Hello I have to redirect my whole traffic to the non www version of my website. I have the http2 SSL free form cloudflare. I did this in my .conf file and It doesn't work.

server {
listen 80;
server_name www.kasacja-aut.pl kasacja-aut.pl https://www.kasacja-aut.pl;
return 301 https://kasacja-aut.pl$request_uri;
}
Subject Author Posted

301 Redirect from www version to non www.

lichandro March 23, 2018 03:06PM

Re: 301 Redirect from www version to non www.

jeffdyke March 23, 2018 03:24PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 60
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