How to remove www?

Get help with installation and running phpBB 3.2.x here. Please do not post bug reports, feature requests, or extension related questions here.
rachid1010
Registered User
Posts: 5
Joined: Fri May 18, 2018 1:18 pm

Re: How to remove www?

Post by rachid1010 »

If you use nginx, you can configure your site like that to redirect

Code: Select all

server {
    listen       80;
    server_name  domain.com www.domain.com;
    return       301 https://domain.com$request_uri;
}
Le meilleur du streaming gratuit, c'est par ici
Post Reply

Return to “[3.2.x] Support Forum”