Support

Admin Tools

#11979 SSL link conversion

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by nicholas on Friday, 13 April 2012 16:32 CDT

kkevents
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? Yes
Have I searched the tickets before posting? Yes
Have I read the documentation before posting (which pages?)? Yes
Joomla! version: 1.5.26
PHP version: 1.2.27
MySQL version: (unknown)
Host: Host Gator
Admin Tools version: 2.25

Description of my issue:
I have SSL enabled in admintools to convert all links to https: which it does fine for everything except my template images. I have mod rewrite enabled. Even running Joomla in force SSL for "whole site" it still won't convert my template images to SSL. Am I missing something? I am using the standard Joomla .htacess.

kkevents
my url: http://www.kosickhosting.com/test

nicholas
Akeeba Staff
Manager
Actually, that's not accurate. All your images are linked to the HTTPS site. I analysed all 144 resource requests on that page myself. The only problems I see are:
- External resources (e.g. the LinkedIn logo) are linked to the HTTP, not the HTTPS version of the external site. You have to manually link to external HTTPS resources, Admin Tools won't do that for you.
- There are 7 images which throw a 404. The URLs seem to be generated by Javascript on the page. THey all end up trying to link to an inexistent file called "-1" which makes me believe that some Javascript on the page got borked.
- All image links generated by Javascript are, of course, not converted to HTTPS. Admin Tools is a Joomla! plugins and operates on the HTML content of the page. Any image links generated by Javascript are generated in the browser, long after Admin Tools has finished running.

As far as Admin Tools is concerned, it does exactly what it is told and should do: it converts internal links which are present on the page to HTTPS. It doesn't deal with dynamic links created by Javascript and it won't touch external links. What you describe as template images is actually Javascript-generated image links, so you have to modify the Javascript file which generates them. Normally, the author of the template should have provided Javascript code which can detect if it's running under HTTPS and adjust the links accordingly.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!