Support Services

Fast and professional to support your business
Welcome, Guest
Username: Password: Remember me

TOPIC: Setting up SSL on Joomla

Setting up SSL on Joomla 6 years 1 month ago #3155

  • Tura.Adam
  • Tura.Adam's Avatar
  • Offline
  • Junior Boarder
  • Posts: 25
  • Karma: 0
Recently I bought SSL certificate got it installed on my Joomla site under the [url:qeq2ebl1]www.domain.com[/url]. The problem is the SSL doesn't work. I am not an expert in ssl but the vendor who sold me the certificate tells me that my Joomla site is not configured to use ssl.
So I searched the net for help and found this article: [url:qeq2ebl1]www.ehow.com/how_6896781_use-ssl-joomla.html[/url] which suggests I add the following code to my .htaccess file:
RewriteEngine on
RewriteCond %{SERVER_PORT} !^443$
RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [QSA,R=301,L]
<IfModule !mod_ssl.c>
Redirect permanent / &#91;url&#93;https://www.gaarahost.com&#91;/url&#93;

I added the code, and changed the Joomla global setting to "Force SSL Entire Site" as per the article's recommendation. Then I got the famous 500 internal error message - Could not access my site. I then removed the code.

I see you are using Joomla & SSL on your site. How did you set it up your Joomla site such that some pages are not forced to use ssl and others are. I need SSL primarily on WHMCS and Joomla logins.

By the way J!WHMCS configuration has been set to use SSL on the user integraton tab and Visual integration tab.
Thank you in advance for your help
Tura
The administrator has disabled public write access.

Re: Hi Steven & Justin - Please help 6 years 1 month ago #3162

  • Justin
  • Justin's Avatar
  • Offline
  • User is blocked
  • Posts: 827
  • Thank you received: 1
  • Karma: 0
I guess my first question would be, is the SSL installed and working correctly. Meaning if you remove the redirect and go to https:// version of your site, does it work or is there errors? Currently it looks to be redirected back to non SSL so I cannot really see if it's correctly installed or not.

Once you get it working correctly, rather than forcing everything with the redirect .htaccess file you've sent, try this one:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^gaarahost.com &#91;NC&#93;
RewriteRule ^(.*)$ https://www.gaarahost.com/$1 &#91;L,R=301&#93;
What this will do is force ONLY your joomla site to your https:// with the subdomain of www. no matter what you type in when entering the URL to your website rather than forcing everything because the way WHMCS is set up, we don't want to force that to SSL, just allow that to resolve the SSL where it's needed as it's supposed to work with WHMCS.

Then, you'll want to go in and change your main domain to https: in your WHMCS settings and your logo URL if you are using joomla as well. Then make sure all the URLs reflect your changes in JWHMCS and remember, do not force the SSL on WHMCS in any of your settings.

Thanks for posting this in the forum, it's a great topic. I've also changed your settings to choose a username next time you login so please do that.
The administrator has disabled public write access.

Re: Setting up SSL on Joomla 6 years 1 month ago #3176

  • mmstudio
  • mmstudio's Avatar
  • Offline
  • Junior Boarder
  • Posts: 20
  • Karma: 0
Im also trying configure ssl - using joomla with Jwhmcs. The problem is if I try my site with [url:39wvs9sz]www.mydomain.com[/url] I got that message from IE8 asking me if I wan view only secured content or not. My first question is followung? Is possible to get rid of that message as most of users will be confuzed and dont know what that means...

Secondly Ifg I select "yes" to view site only with secured content then I got error in IE8 (small yellow triangle in left bottom corner of IE8) site loadas but ads (pictures) on my site are not displayed so wandering why is that ?

Same problem appear when clientr login using jwhmcs login module - I got IE8 message if I want view only secure content - If I click yes then site load secured but pictures are notz loaded and sometimes css disapear at all, if I ansdwer no site loads correctly but not secured ( switch from https to http)

Can u guys gimme a hand with that ?

Ps also on gohigheris site I got often that same message asking me if I want view only secure content and also some pictures on your site are not loaded...
The administrator has disabled public write access.

Re: Setting up SSL on Joomla 6 years 1 month ago #3181

  • Tura.Adam
  • Tura.Adam's Avatar
  • Offline
  • Junior Boarder
  • Posts: 25
  • Karma: 0
I used to have the same problem. I added Justin's code (below) to .htaccess without RewriteEngine on because there was one already existed, enabled "Enable SSL on Redirection" and "Enable SSL on Rendered Pages" on User Integration and Visual Integration tab. Now my ssl works fine. I don't get that confusing question with IE8.
=============
RewriteEngine on
RewriteCond %{HTTP_HOST} ^yourdomain.com [NC]
RewriteRule ^(.*)$ https://www.yourdomain.com/$1 [L,R=301]

I was doing all sort of things in an effort to solve the Issue. Not sure what solved the problem really. one of the troubleshootings I did was disable SEF plugins and re-enable. Now my site works with out any issue.
The administrator has disabled public write access.

ssl problem 6 years 1 month ago #3244

  • mmstudio
  • mmstudio's Avatar
  • Offline
  • Junior Boarder
  • Posts: 20
  • Karma: 0
Hi guys,

I have a problem after long exploring I figured out how setup sll correectly - now it works fine except one thing. WHen I click on my main menu items I got that warning about unsecured content. The problem is following: when I check my site frontpage [url:295qizpo]www.mysite.com[/url] everything works fine - no browser compolains and page is secured, but when I got in my whmcs installation to section where is ssl used like - [url:295qizpo]www.mysite.com/whmcs/domainchecker.php[/url]

than page loads okay but even when I touch my joomla main menu with mouse pointer I got that browser warning if I want load unsecured content

My joomla my menu is with pictures so main menu items are not text but graphic. I also enabled SSL links in m mainmenu settings but also - links are SSL if I work with site in joomla ..I mean mydomain.com if I go to whmcs section mysite.com/whmcs/ and access secure section links are not SSL anymore so looks like joomla mainmenu SSL setting is not applied when joomla in wrapped mode..

An idea ? This issue is urgent I reqally need help ASAP ...Thank mu in advance...
The administrator has disabled public write access.

Re: Setting up SSL on Joomla 6 years 1 month ago #3245

  • Justin
  • Justin's Avatar
  • Offline
  • User is blocked
  • Posts: 827
  • Thank you received: 1
  • Karma: 0
Remove the https from your client menu links and have only http
The administrator has disabled public write access.

Re: ssl problem 6 years 1 month ago #3247

  • mmstudio
  • mmstudio's Avatar
  • Offline
  • Junior Boarder
  • Posts: 20
  • Karma: 0
I already tried whenever I set menu link to SSL or not ssl problem is still same. If I mouse over on any of my main menu item from whmcs wrapped with joomla at location whmcs secure by ssl I got that browser complain.
The administrator has disabled public write access.

Re: ssl problem 6 years 1 month ago #3252

  • Justin
  • Justin's Avatar
  • Offline
  • User is blocked
  • Posts: 827
  • Thank you received: 1
  • Karma: 0
mmstudio;3247 wrote:
I already tried whenever I set menu link to SSL or not ssl problem is still same. If I mouse over on any of my main menu item from whmcs wrapped with joomla at location whmcs secure by ssl I got that browser complain.

It may be something with your template. Visit your website without the www and you'll see it's a mess. You'll want a proper .htaccess redirect to your correct canonical URLs. On your WHMCS client portal, I'd remove that blue box because in order to see the panel, your user has to go below the scroll.

You have a lot of extra stuff on there. Images, affiliate advertising etc. I'd clean that client area up a little bit and give it some room so your customers aren't overwhelmed with repeat affiliate advertising which may be the culprit.

I also get a lot of broken links on your menu no matter where I'm at. Looks like incorrect linking. Clear your menu trash and once you get this cleaned up a bit, forward in a support ticket your Super admin credentials and we'll see if the problem can be found. This isn't normally an issue.
The administrator has disabled public write access.
Time to create page: 0.041 seconds
Powered by Kunena Forum