Post by harishpal32574 » Mon Oct 22, 2018 4:53 am

Please Help me,
I have installed ssl certificate, the ssl certificate is working fine in https://teckbirds.com/admin but not work in it's frontend https://teckbirds.com/
I have tried many times but did not get solution. Please Help me.
Thank You :)


Posts

Joined
Tue Jul 11, 2017 5:05 am

Post by kestas » Mon Oct 22, 2018 5:38 am

You should force https using .htaccess
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

Custom OpenCart modules and solutions. You can write PM with additional questions... Extensions you can find here


Active Member

Posts

Joined
Tue Oct 12, 2010 2:23 am

Post by harishpal32574 » Mon Oct 22, 2018 11:49 pm

I have Added the .htaccess code but ssl is not appear, it's show only for 1 sec while loading. On top bar ssl lock place show "Your connection is not fully secure."


Posts

Joined
Tue Jul 11, 2017 5:05 am

Post by IP_CAM » Tue Oct 23, 2018 1:05 am

Just check any Page Source in your Browser, and you'll find masses of http:// Links,
but since this is a Custom Theme, and you also use Custom Extensions, you will
have to check on everyone of them, what needs to be fixed.
Ernie

My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by johnp » Tue Oct 23, 2018 5:26 pm

Ernie is correct but it should be an relatively easy one to fix. A good tool to help is this website:

https://www.whynopadlock.com

In theory it's easy to get a site to be SSL but in practice there's usually something you overlook such as in page image links.

Opencart 1.5.6.5/OC Bootstrap Pro/VQMOD lover, user and geek.
Affordable Service £££ - Opencart Installs, Fixing, Development and Upgrades
Plus Ecommerce, Marketing, Mailing List Management and More
FREE Guidance and Advice at https://www.ecommerce-help.co.uk


User avatar
Active Member

Posts

Joined
Fri Mar 25, 2011 10:25 am
Location - Surrey, UK

Post by harishpal32574 » Wed Oct 24, 2018 4:16 am

Thank You so much for your replay,
I saw some url http by ctrl+u or source code of the website, but how can i change http to https in custome theme?
can you tell me in whcih directory is file present?


Posts

Joined
Tue Jul 11, 2017 5:05 am

Post by johnp » Wed Oct 24, 2018 5:09 am

This is from WhyNoPadlock:

"An image with an insecure url of "http://teckbirds.com/image/catalog/AjaxLoader.gif" was loaded on line: 261 of https://teckbirds.com".

This is the relevant code:

<div class="search-ajax">
<div class="ajax-loader-container" style="display: none;">
<img src="http://teckbirds.com/image/catalog/AjaxLoader.gif" class="ajax-load-img" width="30" height="30" alt="plazathemes.com" />
</div>
<div class="ajax-result-container">
<!-- Content of search results -->
</div>
</div>

It relates to the search box in the page header. Manually change it as below or write a VQMOD and it should work.

<div class="search-ajax">
<div class="ajax-loader-container" style="display: none;">
<img src="https://teckbirds.com/image/catalog/AjaxLoader.gif" class="ajax-load-img" width="30" height="30" alt="plazathemes.com" />
</div>
<div class="ajax-result-container">
<!-- Content of search results -->
</div>
</div>

Opencart 1.5.6.5/OC Bootstrap Pro/VQMOD lover, user and geek.
Affordable Service £££ - Opencart Installs, Fixing, Development and Upgrades
Plus Ecommerce, Marketing, Mailing List Management and More
FREE Guidance and Advice at https://www.ecommerce-help.co.uk


User avatar
Active Member

Posts

Joined
Fri Mar 25, 2011 10:25 am
Location - Surrey, UK

Post by kiarashsepehri » Tue Jul 06, 2021 1:54 am

kestas wrote:
Mon Oct 22, 2018 5:38 am
You should force https using .htaccess
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Great This worked for me.
don't forget rename .htaccess.txt to .htaccess
add this to config.php for Main and Admin
define('HTTPS_IMAGE', 'https://yourdomain/image/');


Posts

Joined
Sun Jun 20, 2021 1:31 am
Who is online

Users browsing this forum: Semrush [Bot] and 128 guests