www or no www?
www or no www?
Out of context: Reply #11
- Started
- Last post
- 17 Responses
- ernexbcn0
If use nginx web server, put this on your "server" block:
if ($host != domain.com) {
rewrite (.*) http://domain.com$1 permanent;
}
If use nginx web server, put this on your "server" block:
if ($host != domain.com) {
rewrite (.*) http://domain.com$1 permanent;
}