Author Topic: How to redirect www to non www https ?  (Read 6568 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
How to redirect www to non www https ?
« on: July 16, 2018, 07:17:15 AM »
Hi,

How to redirect all

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

to

https://domain.com

on the /usr/local/apache/conf.d/vhosts.conf ?
« Last Edit: July 16, 2018, 07:18:49 AM by nelsonwan »

Offline
*
Re: How to redirect www to non www https ?
« Reply #1 on: July 17, 2018, 01:52:38 PM »
probably the best is to do that in your cms or by using htaccess..but htaccess could cause issues with autossl.
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.