Redirect http requests to https and domain.com requests to www.domain.com

Started by wmac, September 07, 2020, 08:18:56 PM

Previous topic - Next topic

wmac

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

Igor S.

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



You can ask me to solve any problem with your server for some money in pm  ;)






Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions

Get Fast Support Here
http://centos-webpanel.com/support-services