Hi,
I'm trying to switch a MODx installation to use SSL (revo 2.5.1) but not having any success. I've tried everything i could find on the web but can't seem to find anything that resolves this for me.
As i understand it, i need to change / add some entries in the .htaccess file. currently it reads-
RewriteCond %{HTTP_HOST} !^(.*)\.mywebsite\.com$ [NC]
RewriteRule ^(.*)$ http://www.mywebsite.com/$1 [R=301,L]
And this serves the pages over standard HTTP and redirects the non www version of the url to the www version.
I've tried the following in order to make the whole site run on HTTPS but in doing so, the whole website didn't render correctly, and also the green padlock in the address bar didn't appear, it still stated that the page(s) where insecure..
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://mywebsite.com/$1 [R=301,L]
Any help or suggestions would be greatly appreciated!