Post by katjazajko » Mon Feb 04, 2019 6:53 pm

Hello,

English is not my first language so please bear with me. I've encountered a problem with links regarding my webstore https://www.recositech.com/ which has caused me many gray hairs during the last couple of months. I'm not an expert in web design so I'm not sure what the cause is, I've tried solving this multiple ways but was unable to find a solution).

I'm using Opencart 2.2.0.0 with the Journal theme.

The problem in detail:
They problem is certain parts of the website don't show previews when trying to link them via basicly any website and if someone tries to visit them for the first time without previously visiting the website (no cookies, such as in chrome incognito mode) they don't open and instead state "site cannot be found". However upon refreshing the link it opens the page properly. I've noticed anomaly in all blog articles, which makes linking them on social media much harder.

Has anyone else experienced this issue? Any help would be appreciated.

Here's the htaccess data (the bulk is rerouting http to https):

Options +FollowSymlinks

# SEO URL Settings
RewriteEngine On

RewriteBase /
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
RewriteRule ^sitemap.xml$ index.php?route=feed/google_sitemap [L]
RewriteRule ^googlebase.xml$ index.php?route=feed/google_base [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css)
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]
RewriteCond %{QUERY_STRING} ^route=common/home$
RewriteCond %{REQUEST_METHOD} !^POST$
RewriteRule ^index\.php$ http://%{HTTP_HOST}? [R=301,L]
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L,NE]

Newbie

Posts

Joined
Wed Jun 13, 2018 9:06 pm

Post by huntbee » Thu Feb 21, 2019 11:56 pm

It is possibly because the links are not formed properly in your website. I see your image links are relative rather than absolute which makes it impossible to get the image information from your website when you try to share the website link. This issue is more common in opencart 2.2.0.0 users. You can fix this issue from catalog/model/tool/image.php .

Do let me know if you need any help fixing this issue.

Thank you

HuntBee OpenCart Services
https://www.huntbee.com


User avatar
New member

Posts

Joined
Sun Nov 01, 2015 4:01 am
Location - India
Who is online

Users browsing this forum: No registered users and 23 guests