Hello to everyone
When I enter my website as www.sheamona.com, the symbols for items such as basket, favorites, etc. are not loaded.
but when I log in as sheamona.com I do not encounter such a problem.
What is the cause of this problem and how can I solve it.
When I enter my website as www.sheamona.com, the symbols for items such as basket, favorites, etc. are not loaded.
but when I log in as sheamona.com I do not encounter such a problem.
What is the cause of this problem and how can I solve it.
OC version. Issue is either with .htaccess, config.php and / or admin/config.php files. You'll need to post these infos (without password) for forum suppotters to take a look. In addition, to use the Developers Kit from your browser (F12) and inspect each elements.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
opencart version 3.0.x
.htaccess
config.php
admin config.php
.htaccess
Code: Select all
# 1.To use URL Alias you need to be running apache with mod_rewrite enabled.
# 2. In your opencart directory rename htaccess.txt to .htaccess.
# For any support issues please visit: http://www.opencart.com
Options +FollowSymlinks
# Prevent Directoy listing
Options -Indexes
# Prevent Direct Access to files
<FilesMatch "(?i)((\.tpl|.twig|\.ini|\.log|(?<!robots)\.txt))">
Require all denied
## For apache 2.2 and older, replace "Require all denied" with these two lines :
# Order deny,allow
# Deny from all
</FilesMatch>
RewriteBase /
RewriteRule ^sitemap.xml$ index.php?route=extension/feed/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)
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.sheamona.com.$
RewriteRule ^(.*)$ https://sheamona.com/$1 [L,R=301]
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
config.php
Code: Select all
<?php
// HTTP
define('HTTP_SERVER', 'https://sheamona.com/');
// HTTPS
define('HTTPS_SERVER', 'https://sheamona.com/');
Code: Select all
<?php
// HTTP
define('HTTP_SERVER', 'https://sheamona.com/admin/');
define('HTTP_CATALOG', 'https://sheamona.com/');
// HTTPS
define('HTTPS_SERVER', 'https://sheamona.com/admin/');
define('HTTPS_CATALOG', 'https://sheamona.com/');
For .htaccess configurations, see this post if it helps: viewtopic.php?f=202&t=223290&p=818563#p818563 . Please ensure to read the entire post.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
I need to add the codes here to my .htaccess file.straightlight wrote: ↑Thu Apr 08, 2021 10:08 pmFor .htaccess configurations, see this post if it helps: viewtopic.php?f=202&t=223290&p=818563#p818563 . Please ensure to read the entire post.
This question has been asked and answered on this forum thousands of times, please search before you post.
Locking topic.
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Who is online
Users browsing this forum: No registered users and 211 guests