Jump to content

htaccess problem.


Recommended Posts

Hi all

I have created a shop and then uploaded a htaccess file that I used from an example. When I add a product into the catalogue everything works fine except the image doesn't show.

The link for the product is:

http://www.markjameshair.co.uk/store/biolage-shampoo/22-biolage-colorcare-shampoo-250ml.html

And for the image:

http://www.markjameshair.co.uk/store/22-60-large/biolage-colorcare-shampoo-250ml.jpg

Either the htaccess file is incorrect or the item's image isn't being uploaded into the correct place on my server?

My htaccess file looks like this:

# URL rewriting module activation
RewriteEngine on

# URL rewriting rules
RewriteRule ^([a-zA-Z0-9-]*)/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ product.php?id_product=$2$4 [L,E]
RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ product.php?id_product=$1$3 [L,E]
RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ category.php?id_category=$1 [QSA,L,E]
RewriteRule ^content/([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ cms.php?id_cms=$1 [QSA,L,E]
RewriteRule ^([0-9]+)__([a-zA-Z0-9-]*)(.*)$ supplier.php?id_supplier=$1$3 [QSA,L,E]
RewriteRule ^([0-9]+)_([a-zA-Z0-9-]*)(.*)$ manufacturer.php?id_manufacturer=$1$3 [QSA,L,E]

# Catch 404 errors
ErrorDocument 404 /404.php

Please help!

Many thanks
Pete

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...