How to Force SSL in Joomla 3.1
Another Joomla 3.0 Server Setting that is available is Force SSL.
|Description of the Force SSL Option||Available Options for Force SSL|
As the options imply, you can force SSL for either your entire website, or only for your /administrator pages.
To set the Force SSL option in Joomla 3.0
- Log into your Joomla 3.0 Admin Dashboard
- In the left menu, click the Global Configuration link
- There will be several tabs at the top of the page. Click the Server tab.
- Under the Server Settings heading, find the option labeled Force SSL. Use the drop down menu to the right of the setting to select the option you want, and then click the Save button in the top left of the page.
If you don't have SSL enabled for your domain name, you will immediately get an error upon saving. This potentially can lock you out of your website! To fix this issue, continue reading.
What to do if you're locked out of Joomla 3.0 because of this SSL Setting?
If you enabled the Force SSL option, and you've become locked out of your website, follow these steps to restore the normal, non-ssl setting.
- Open for edit the Joomla 3.0 configuration.php file
- Find a line that looks similar to this:
public $force_ssl = '2';Change this setting so that it has a value of 0, as in:
public $force_ssl = '0';Save the changes to the file. You should be able to access your site once again.
If you have any trouble changing the settings to the file, the file may not have any write permissions, so the file's permissions may need to be updated.
We value your feedback!
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
new! - Enter your name and email address above and we will post your feedback in the comments on this page!
Configuring Server Settings in Joomla 3
|1.||How to change the path to your Temp Directory in Joomla 3.1|
|2.||How to use Gzip Page Compression in Joomla 3.1|
|3.||Joomla 3.1 Error Reporting|
|4.||How to Force SSL in Joomla 3.1|
|5.||Joomla 3.1 Server TimeZone|
|6.||Configuring FTP Settings in Joomla 3.1|
|7.||How to change Database Settings within Joomla 3.1|
|8.||Changing Email Settings in Joomla 3.1|
2014-04-18 9:00 am
I am not 100% on this but I assume that a value of 0 = none, 1 = Administrator Only, and 2 = Entire site.
2014-09-23 9:43 am
I have enabled SSL for the entire site. Still, when I access a particular menu where some flash items can be played, my browser indicates that some images are not secured although they are integrated in the domain file system. I've tried to integrate a .htaccess file within the particular directory where the images are located but to no avail. Is there a solution to this?
2014-09-23 9:58 am
Thank you for your question. We are happy to help but will need some additional information.
Are you calling in images from another website?
Can you provide a link to the problem?
Since a single image called in without "https" can break the security of the SSL, sites such as https://www.whynopadlock.com can list all insecure images.
If you have any further questions, feel free to post them below.
2014-09-23 10:28 am
Hi John-Paul, thank you for your answer.
Here are some more details.
This is the address of the website: https://prabhupadavani.org
The problem comes from the menu - Darshan (requires flash)
The images are called from a directory within the prabhupadavani.org domain but they've been imported from a site that prepared the flash images from images that I have submitted.
The slideshow is a flash item that calls the flash images that are within the same directory. So I cannot call them independently with an HTTPS prefix.
I hope that what I'm saying makes some sense to you.
2014-09-23 11:01 am
Until those elements are called using HTTPS, this warning will persist. The only way to remove the warning within the user's browser is the obtain them directly using HTTPS.