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 ›

redirect http to https

Started by rita1989, April 04, 2020, 04:44:00 PM

Previous topic - Next topic

rita1989

hello, i read that for redirecting http to https i need to edit my htaccess, but where to find it? thanks

aftabjaved62

Use this in .htacess

RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.yourdomain.com/$1 [R,L]

rita1989

thanks :) where do i find .htaccess in cwp? should i just go directly by terminal or is it possible to edit by the panel?

josemnunez

From the user you can do it as a redirect module and from the admin you can force https from the webserver domain editor