Post by woe1234 » Thu Aug 06, 2020 12:22 am

hello, in my opencart website there is 1 single category in menu wich is redirecting to http instead of https can someone help me please? thank you

Newbie

Posts

Joined
Mon Jun 08, 2020 11:08 am

Post by khnaz35 » Thu Aug 06, 2020 12:51 am

Check your both config files.
And .htaccess

Urgent Questions shoot here: khnaz35@gmail.com
Enjoy nature ;) :) :-*


User avatar
Active Member

Posts

Joined
Mon Aug 27, 2018 11:30 pm
Location - Malaysia

Post by woe1234 » Thu Aug 06, 2020 12:56 am

hey thanks for the reply, my both config files are configured with https and htaccess has redirect http to https but the category is redirecting to http://www.blackvintage.com.br/index.ph ... ry&path=59

Code: Select all

RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L]
RewriteRule ^sitemap.xml$ index.php?route=extension/feed/simple_google_sitemap [L]
RewriteRule ^googlebase.xml$ index.php?route=extension/feed/google_base [L]
RewriteRule ^system/storage/(.*) index.php?route=error/not_found [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css) [NC]
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]

Newbie

Posts

Joined
Mon Jun 08, 2020 11:08 am

Post by thekrotek » Thu Aug 06, 2020 1:19 am

Check your menu in theme settings.

Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com


User avatar
Expert Member

Posts

Joined
Sun Jul 03, 2016 12:24 am


Post by IP_CAM » Thu Aug 06, 2020 4:33 am

Did you also SET the HTTP Link as https:// your site / in your both config.php files ?
If not, it won't work in full. ;)
// HTTP
define('HTTP_SERVER', 'https:// your site/');
define('HTTP_IMAGE', 'https:// your site/image/');
// HTTPS
define('HTTPS_SERVER', 'https:// your site/');
define('HTTPS_IMAGE', 'https:// your site/image/');

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 woe1234 » Thu Aug 06, 2020 5:39 am

IP_CAM wrote:
Thu Aug 06, 2020 4:33 am
Did you also SET the HTTP Link as https:// your site / in your both config.php files ?
If not, it won't work in full. ;)
// HTTP
define('HTTP_SERVER', 'https:// your site/');
define('HTTP_IMAGE', 'https:// your site/image/');
// HTTPS
define('HTTPS_SERVER', 'https:// your site/');
define('HTTPS_IMAGE', 'https:// your site/image/');
thanks for the reply! yes both config.php are set to https, all my site links are correct but only 1 category is wrong with http i have no idea why

Newbie

Posts

Joined
Mon Jun 08, 2020 11:08 am

Post by thekrotek » Thu Aug 06, 2020 6:41 am

woe1234 wrote:
Thu Aug 06, 2020 5:39 am
thanks for the reply! yes both config.php are set to https, all my site links are correct but only 1 category is wrong with http i have no idea why
I already told you what to do. This has absolutely nothing to do with .htaccess.

Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com


User avatar
Expert Member

Posts

Joined
Sun Jul 03, 2016 12:24 am


Post by netruxa » Thu Aug 06, 2020 2:50 pm

@woe1234 check theme settings
and why all links in menu have attr onclick?
Image

Attachments

2020-08-06_09-47-14.png

2020-08-06_09-47-14.png (17.34 KiB) Viewed 683 times


User avatar
New member

Posts

Joined
Fri Dec 16, 2016 1:34 pm


Post by gokaydemir86 » Fri Aug 07, 2020 7:08 pm

woe1234 wrote:
Thu Aug 06, 2020 12:22 am
hello, in my opencart website there is 1 single category in menu wich is redirecting to http instead of https can someone help me please? thank you
Hi. Did you use layout override on category page? Modules may have http link for that specific page?Ex: HTML module maybe. Or you may have an external http link on that page.

About me: https://gokaydemir.com
E-mail me: info@gokaydemir.com
Whatsapp me (recommended ;) ) : https://api.whatsapp.com/send/?phone=90 ... p_absent=0


User avatar
New member

Posts

Joined
Tue Jul 18, 2017 8:08 am
Who is online

Users browsing this forum: No registered users and 250 guests