Author Topic: Redirect http requests to https and domain.com requests to www.domain.com  (Read 3751 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
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

Offline
*****
Re: Redirect http requests to https and domain.com requests to www.domain.com
« Reply #1 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
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