Post by clarencetey » Wed Mar 21, 2018 1:17 pm

I have a strange issue . The "ADD TO CART" cannot be viewed on mobile browser but for normal browser is ok . Any advice ?

https://drive.google.com/open?id=1XgB3- ... l0qCPfWSV-

https://drive.google.com/open?id=16mssZ ... --zm4lTR_s

Newbie

Posts

Joined
Tue Oct 23, 2012 1:59 pm

Post by IP_CAM » Wed Mar 21, 2018 1:50 pm

Yes, post a link, only Esoterics can judge by an Image. :-\
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 clarencetey » Wed Mar 21, 2018 2:43 pm

Sorry .This is the link

https://www.kwchealth.com
IP_CAM wrote:
Wed Mar 21, 2018 1:50 pm
Yes, post a link, only Esoterics can judge by an Image. :-\
Ernie

Newbie

Posts

Joined
Tue Oct 23, 2012 1:59 pm

Post by IP_CAM » Wed Mar 21, 2018 11:19 pm

Well, your Site is configured to be called this way only:
https://kwchealth.com/
and NOT:
https://www.kwchealth.com/
or it will not work in full, and display the Fontawesome PIC's as well.
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 clarencetey » Thu Mar 22, 2018 1:33 pm

Thank you . You are great .Will resolve it .

Newbie

Posts

Joined
Tue Oct 23, 2012 1:59 pm

Post by IP_CAM » Thu Mar 22, 2018 1:47 pm

Good for you! If you want it to be
https: // www.
you'll have to add some Code to your .htaccess file, to make sure,
that every URL Call, regardless on how it's written, will be redirected to only
one valid Url, like shown above:

Code: Select all

# SEO URL Settings
RewriteEngine On
# If your opencart installation does not run on the main web folder,
# make sure you folder it does run in ie. / becomes /shop/ (like in my case!)

RewriteBase /shop/
###### -----------------------  FROM HERE --------------------------- ######

# Force (HTTPS host)
# valid for your setup - if you use HTTP Linking
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ https://www.%{HTTPS_HOST}/$1 [R=301,L]

# Force (HTTPS host) IF HTTPS non www to www 
# valid for your setup if you use HTTPS Linking - set INACTIVE NOW !
RewriteCond %{HTTPS_HOST} !^www\.
RewriteRule ^(.*)$ https://www.%{HTTPS_HOST}/$1 [R=301,L]

###### -----------------------  TO HERE --------------------------- ######
RewriteRule ^sitemap.xml$ index.php?route=feed/google_sitemap [L]
...
...
Untested, I do NOT use https yet! ::)
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 uksitebuilder » Thu Mar 22, 2018 7:06 pm

There is no variable "HTTPS_HOST" available in Apache

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom
Who is online

Users browsing this forum: No registered users and 403 guests