How to Force all URL to Secure HTTPS in Joomla

Sometimes, there are many URL embedded in our Joomla websites, which becomes impossible to each and every thing and change from HTTP to HTTPS.


So, there are two steps to be done, in order to force all non-secure HTTP links in a Joomla website to secure- HTTPS links automatically.


Step 1:Goto Admin Backend >> Global Configuration >> Server >> Force SSL >> Entire Site


Step 2:Edit the .htaccess file in the website root folder and place this below code on the bottom of the htaccess file.


########## Begin - Redirect non-www to www RewriteCond %{HTTP_HOST} !^www\. [NC] RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L] ## If the above throws an HTTP 500 error, swap [R=301,L] with [R,L] ########## End - Redirect non-www to www









In case of Joomla Support: Get in touch

0 Comments