I am new Yii framework.
Trying to having url like https://example.com
while requesting with http://www.example.com
You can have this kind of example by requesting http://www.twitter.com
Please help me out.
Thanks
I am new Yii framework.
Trying to having url like https://example.com
while requesting with http://www.example.com
You can have this kind of example by requesting http://www.twitter.com
Please help me out.
Thanks
/* moved to General Discussion */
(not a tip, snippet or tutorial)
if apache server, mod_rewrite is where to look at.
here is what i googled, in your .htaccess
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]