Hi all,
i uploaded a newly buyed template and when i open it it shows some errors (See attachment). If i hit the refresh button or go to Home page (Fooldal) it becomes normal, so all the icons and sign are beeing showed. The link is http://www.bestial.hu
What could be the issue? Please help! Thank you!
i uploaded a newly buyed template and when i open it it shows some errors (See attachment). If i hit the refresh button or go to Home page (Fooldal) it becomes normal, so all the icons and sign are beeing showed. The link is http://www.bestial.hu
What could be the issue? Please help! Thank you!
Attachments
Capture.JPG (103.11 KiB) Viewed 1481 times
with OC-2, you either have to configure:
http://www.yourshop.ext
or then:
http://yourshop.ext
in your config.php files, also, you have to configure your .htaccess as well, to 'rewrite'
any call, redirecting to the 'not allowed' URL to the right one.
http://forum.opencart.com/viewtopic.php ... le#p593705
Ernie
openshop.li/shop/
http://www.yourshop.ext
or then:
http://yourshop.ext
in your config.php files, also, you have to configure your .htaccess as well, to 'rewrite'
any call, redirecting to the 'not allowed' URL to the right one.
http://forum.opencart.com/viewtopic.php ... le#p593705
Ernie
openshop.li/shop/
My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Thank you, it worked!!! Great!!
IP_CAM wrote:with OC-2, you either have to configure:
http://www.yourshop.ext
or then:
http://yourshop.ext
in your config.php files, also, you have to configure your .htaccess as well, to 'rewrite'
any call, redirecting to the 'not allowed' URL to the right one.
http://forum.opencart.com/viewtopic.php ... le#p593705
Ernie
openshop.li/shop/
And for everybody else, this is the Code, to be placed on the .htaccess File:
FIND THIS:
# SEO URL Settings
RewriteEngine On
RewriteBase /
#OR:
#RewriteBase / shop/
#OR:
#RewriteBase / cart/
#OR:
#RewriteBase / whatever_your_shop_sub_is_called/
---
PLACE THE CODE CONTENT BELOW THE ABOVE:
and use either one, by UNQUOTING the 'to be selected' way, i.E.,
as shown above, to make it WWW. only, however one comes into the Site.
But just make sure, NEVER to #unquote# plain Coder Help information Lines, like
#Force (http host) non www to www (optional)
or your Site will be dead!
And, by NATURE of THINGS; it has to MATCH the Shop config.php Settings!
with my best regards
Ernie
openshop.li
FIND THIS:
# SEO URL Settings
RewriteEngine On
RewriteBase /
#OR:
#RewriteBase / shop/
#OR:
#RewriteBase / cart/
#OR:
#RewriteBase / whatever_your_shop_sub_is_called/
---
PLACE THE CODE CONTENT BELOW THE ABOVE:
Code: Select all
#Force (http host) www to non www (optional)
#RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
#RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
#Force (https host) www to non www (optional)
#RewriteCond %{HTTPS} on
#RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
#RewriteRule ^(.*)$ https://%1/$1 [R=301,L]
#Force (http host) non www to www (optional)
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
#Force (https host) non www to www (optional)
RewriteCond %{HTTPS} on
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L]
as shown above, to make it WWW. only, however one comes into the Site.
But just make sure, NEVER to #unquote# plain Coder Help information Lines, like
#Force (http host) non www to www (optional)
or your Site will be dead!

And, by NATURE of THINGS; it has to MATCH the Shop config.php Settings!
with my best regards

Ernie
openshop.li
My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Who is online
Users browsing this forum: No registered users and 2 guests