Jump to content

404 for some products


Recommended Posts

Hi!

I have a problem that i'm almost sure you didn't see before.

Today i just noticed that some, but not every, of my products sites shows 404 error. Product is available and can be added to cart from main page or from category page, but when i click on the link to produkt page it shows 404 error. When i turn freindly URLs off everything is fine and all the product pages are available.

When it would ba htaccess error i think that every product pages would show 404.


Any idea how to fix it?

Link to comment
Share on other sites

Ahh so you expect me to be able to answer your post while i am sleeping, in fact most of Europe has been asleep. It may surprise you but we don't live here 24/7 we do have lifes and other things to do.

It would help if you supplied information about your site. Prestashop version?

Link to comment
Share on other sites

Presta version 1.3.6. When friendly links are on some product pages shows 404, some don't. When firendly links are off all pages are ok. I've noticed it yesterday but it may last for a few weeks.

Here mine htaccess:


# .htaccess automaticaly generated by PrestaShop e-commerce open-source solution
# http://www.prestashop.com - http://www.prestashop.com/forums

# URL rewriting module activation
RewriteEngine on

# URL rewriting rules
RewriteRule ^([a-z0-9]+)\-([a-z0-9]+)(\-[_a-zA-Z0-9-]*)/([_a-zA-Z0-9-]*)\.jpg$ /img/p/$1-$2$3.jpg [QSA,L,E]
RewriteRule ^([0-9]+)\-([0-9]+)/([_a-zA-Z0-9-]*)\.jpg$ /img/p/$1-$2.jpg [QSA,L,E]
RewriteRule ^([0-9]+)(\-[_a-zA-Z0-9-]*)/([_a-zA-Z0-9-]*)\.jpg$ /img/c/$1$2.jpg [QSA,L,E]
RewriteRule ^lang-([a-z]{2})/([a-zA-Z0-9-]*)/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /product.php?id_product=$3&isolang;=$1$5 [QSA,L,E]
RewriteRule ^lang-([a-z]{2})/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /product.php?id_product=$2&isolang;=$1$4 [QSA,L,E]
RewriteRule ^lang-([a-z]{2})/([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ /category.php?id_category=$2&isolang;=$1 [QSA,L,E]
RewriteRule ^([a-zA-Z0-9-_]*)/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /product.php?id_product=$2$4 [QSA,L,E]
RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /product.php?id_product=$1$3 [QSA,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]
RewriteRule ^lang-([a-z]{2})/(.*)$ /$2?isolang=$1 [QSA,L,E]

# Catch 404 errors
ErrorDocument 404 /404.php

RewriteCond %{HTTP_HOST} ^dowcipnie.com
RewriteRule ^(.*)$ http://www.dowcipnie.com/$1 [R=301,L]

Header set Expires "Thu, 15 Apr 2012 20:00:00 GMT"
Header unset ETag
FileETag None



Thanks in advance for your help!

Link to comment
Share on other sites

This support is sucks!


No your attitude sucks, like i said in my earlier post i don't live on this forum and I do have other thng to do apart from help you.

I'm not surprised no one else has helped you if this is the attitude you give everyone else.
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...