I just installed OpenCart 2.0. All is going fine, until I view my site - "most" of the images show up fine, but all my "button" icons do not (i.e. like the flag icon, add to cart icon, add to wish list icon, etc.).. I looked for the image files in the folder I uploaded to my server, and I couldn't locate them... could they be missing from the package?? The only images were all the product images, etc.
All the product images show up fine, but all those image files are included in the upload content folder. If they were missing... how can I get them now???
Please help someone - thanks :-)
They are on an other domain.
Type store-url as entered when setting up store.
http://www.your-store.domain is not your-store.domain
Use .htaccess with rewriterules
Type store-url as entered when setting up store.
http://www.your-store.domain is not your-store.domain
Use .htaccess with rewriterules
Code: Select all
# without www to www.
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
# with www to without www.
RewriteCond %{HTTP_HOST} !^your-store.domain$ [NC]
RewriteRule ^(.*)$ http://your-store.domain/$1 [L,R=301]
The text file .htaccess.txt has to be renamed to .htaccess, otherwise it has no effect.
Edit .htaccess and add after:
If you url starts with www.
If url does not contain www.
Replace 'your-store.domain' with your store-url
Edit .htaccess and add after:
Code: Select all
RewriteBase /
Code: Select all
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
Code: Select all
RewriteCond %{HTTP_HOST} !^your-store.domain$ [NC]
RewriteRule ^(.*)$ http://your-store.domain/$1 [L,R=301]
Who is online
Users browsing this forum: No registered users and 6 guests