<![CDATA[ Do I need to change https to http when enabling the htaccess file? - My Forums]]> https://forums.modx.com/thread/?thread=104374 <![CDATA[Do I need to change https to http when enabling the htaccess file?]]> https://forums.modx.com/thread/104374/do-i-need-to-change-https-to-http-when-enabling-the-htaccess-file#dis-post-561411
When uncommenting the lines in the htaccess file, do I need to change the https to http? For example, my site doesn't use an SSL certificate and I would like all URLs to use the www prefix. I've uncommented the following lines in the htaccess file:

RewriteCond %{HTTP_HOST} !^$
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteCond %{HTTP_HOST} (.+)$
RewriteRule ^(.*)$ https://www.%1/$1 [R=301,L] .

Do I also need to change https to http?

Thanks!

Jeff]]>
jeffmiranda Sep 05, 2018, 06:34 PM https://forums.modx.com/thread/104374/do-i-need-to-change-https-to-http-when-enabling-the-htaccess-file#dis-post-561411
<![CDATA[Re: Do I need to change https to http when enabling the htaccess file?]]> https://forums.modx.com/thread/104374/do-i-need-to-change-https-to-http-when-enabling-the-htaccess-file#dis-post-561418
Is hard to get https in the first place, its easy to be broken and there will likely be a warning in your browser, just up next to the url. If there is no cert there then it will not be meaningful.]]>
nuan88 Sep 06, 2018, 03:53 PM https://forums.modx.com/thread/104374/do-i-need-to-change-https-to-http-when-enabling-the-htaccess-file#dis-post-561418