Post by fullfatstudios » Fri Aug 26, 2011 11:14 pm

Hi there,

I have created the .htaccess file necessary for seo url's and applied it in the settings page.

When I click on:
http://www.sevenwaysclothing.com/shop

It works fine, however if you select the product in this category.. the css does not load in the page?

It is something to do with the SEO url as when I turn it off, everything works fine.

Please could you help?

Many thanks
Ollie


Posts

Joined
Fri Aug 26, 2011 11:10 pm

Post by fullfatstudios » Fri Aug 26, 2011 11:15 pm

http://www.sevenwaysclothing.com/shop/tshirts

the link that doesn't load the css


Posts

Joined
Fri Aug 26, 2011 11:10 pm

Post by fullfatstudios » Fri Aug 26, 2011 11:33 pm

FIXED ++++

in header.tpl of the theme.. I added a / at the beginning of each js and css link.

Everything then loads.


Posts

Joined
Fri Aug 26, 2011 11:10 pm

Post by uglyeoin » Fri Sep 26, 2014 3:01 am

I installed it clean without anything extra, just the plain old setup and had this problem too. In fact the installer it's self also had no CSS. Do you have any ideas?

Newbie

Posts

Joined
Mon Jun 23, 2014 5:13 pm

Post by adriancblack » Mon Jun 20, 2016 12:10 pm

It's morning already and exhausted of searching online.
here it is:
1. opencart 2.2.0.0
2. url rewrite on
3. ssl enabled and working
4. all pages work except when you get to a sub-category, when the url becomes /category/subcategory
5. the page still loads for the subcategory, but all the internal links to css, js, img now have the category added to the url, therefore all the styles, images is gone.
6. here's the htaccess file:

Code: Select all

RewriteBase /
RewriteRule ^sitemap.xml$ index.php?route=feed/google_sitemap [L]
RewriteRule ^googlebase.xml$ index.php?route=feed/google_base [L]
RewriteRule ^system/download/(.*) /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]
7. this is the site in question: https://fox-puzzles.com/
8. this is a page that works: https://fox-puzzles.com/tablet
9. here's a page that doesn't work: https://fox-puzzles.com/tablet/samsung-galaxy-tab-10-1

here's a screenshot of the errors:
Image

And changing the header.tpl by adding / doesn't help ... there are still images that are pulled dynamically from other tpl files and those will still not load.

any ideas guys?

Newbie

Posts

Joined
Mon Jun 20, 2016 11:29 am

Post by onoriotorti » Tue Dec 11, 2018 4:37 pm

adriancblack wrote:
Mon Jun 20, 2016 12:10 pm
It's morning already and exhausted of searching online.
here it is:
1. opencart 2.2.0.0
2. url rewrite on
3. ssl enabled and working
4. all pages work except when you get to a sub-category, when the url becomes /category/subcategory
5. the page still loads for the subcategory, but all the internal links to css, js, img now have the category added to the url, therefore all the styles, images is gone.
6. here's the htaccess file:

Code: Select all

RewriteBase /
RewriteRule ^sitemap.xml$ index.php?route=feed/google_sitemap [L]
RewriteRule ^googlebase.xml$ index.php?route=feed/google_base [L]
RewriteRule ^system/download/(.*) /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]
7. this is the site in question: https://fox-puzzles.com/
8. this is a page that works: https://fox-puzzles.com/tablet
9. here's a page that doesn't work: https://fox-puzzles.com/tablet/samsung-galaxy-tab-10-1

here's a screenshot of the errors:
Image

And changing the header.tpl by adding / doesn't help ... there are still images that are pulled dynamically from other tpl files and those will still not load.

any ideas guys?
did you ever fix this issue.
I'm having the same problem at the moment.

New member

Posts

Joined
Tue Jun 20, 2017 5:36 pm
Who is online

Users browsing this forum: No registered users and 10 guests