Page 1 of 1

2.0.2.0 icons doesnt show up.

Posted: Wed Nov 08, 2017 3:21 am
by Irkluojubbd
2.0.2.0 icons doesnt show up.
when i type with non-www icons doesnt show up, when i type with www. it shows, how do i fix that?

Re: 2.0.2.0 icons doesnt show up.

Posted: Wed Nov 08, 2017 3:40 am
by kestas
You can do it using .htaccess
Change .htaccess.txt to .htaccess and edit it in notepad. at the end paste this code, by replacing 'mysite' with the your site name. and extension of the site '.com' to your site extension.

Code: Select all

#Force non-www:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www\.mysite\.com [NC]
RewriteRule ^(.*)$ http://mysite.com/$1 [L,R=301]

Re: 2.0.2.0 icons doesnt show up.

Posted: Wed Nov 08, 2017 4:07 am
by Irkluojubbd
kestas wrote:
Wed Nov 08, 2017 3:40 am
You can do it using .htaccess
Change .htaccess.txt to .htaccess and edit it in notepad. at the end paste this code, by replacing 'mysite' with the your site name. and extension of the site '.com' to your site extension.

Code: Select all

#Force non-www:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www\.mysite\.com [NC]
RewriteRule ^(.*)$ http://mysite.com/$1 [L,R=301]
tried doesnt worked

Re: 2.0.2.0 icons doesnt show up.

Posted: Wed Nov 08, 2017 4:23 am
by kestas
should work. maybe some mistake left in code. :)
Try this one to paste to your htaccess. file in main directory:

Code: Select all

RewriteEngine On
RewriteCond %{HTTP_HOST} !=""
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteCond %{HTTPS}s ^on(s)|
RewriteRule ^ http%1://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
there not need make any changes...

Re: 2.0.2.0 icons doesnt show up.

Posted: Wed Nov 08, 2017 4:33 am
by Irkluojubbd
kestas wrote:
Wed Nov 08, 2017 4:23 am
should work. maybe some mistake left in code. :)
Try this one to paste to your htaccess. file in main directory:

Code: Select all

RewriteEngine On
RewriteCond %{HTTP_HOST} !=""
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteCond %{HTTPS}s ^on(s)|
RewriteRule ^ http%1://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
there not need make any changes...
nothing works for me at opencart everything is bugged....

does htaccess file needs to be with 2 dots or only with one?

Re: 2.0.2.0 icons doesnt show up.

Posted: Wed Nov 08, 2017 6:37 am
by kestas
must be .htaccess