Control Web Panel

WebPanel => Apache => Topic started by: wmac on September 07, 2020, 08:18:56 PM

Title: Redirect http requests to https and domain.com requests to www.domain.com
Post by: wmac on September 07, 2020, 08:18:56 PM
Hello

I want to permanently redirect requests starting with the following to https://www.domain.com

http://domain.com
http://www.domain.com
https://domain.com

How should I edit my apache config files?

Thank you
Title: Re: Redirect http requests to https and domain.com requests to www.domain.com
Post by: Igor S. on September 12, 2020, 08:53:35 AM
Hi, the best way to use a plugin of your CMS
You can also use .htaccess and set the redirect or if nginx in use CWPadmin => Apache Settings => WebServer Main Conf => http2 force https