Control Web Panel

WebPanel => Apache => Topic started by: nelsonwan on July 16, 2018, 07:17:15 AM

Title: How to redirect www to non www https ?
Post by: nelsonwan 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 ?
Title: Re: How to redirect www to non www https ?
Post by: studio4host 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.