New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

How to redirect www to non www https ?

Started by nelsonwan, July 16, 2018, 07:17:15 AM

Previous topic - Next topic

nelsonwan

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 ?

studio4host

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.