Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Bug with SEO URLs


okpoubelle

Recommended Posts

Hello everyone,

 

I have a big bug after installing SEO URLs.

All products with no special caracters are ok, and we can them to cart.

but for Products with special caracters, the are correctly displayed (but with these caracters in URL = bad), BUT we can't add the to cart.

(Cart is empty)

 

In SEO URLs configuration, I filled it "Enter special character conversions" :

é=>e,è=>e,ê=>e,ë=>,'=>,à=>a,â=>a,ä=>a,ï=>i,î=>i

 

For products without any special caracters, when i look at http headers, i see:

 

GET xxxxxx/product_info.php/shopping-p-32

Reponse HTML: 200, OK

 

And for those with special caracters (here, the french "é")

 

GET xxxxxx/product_info.php/d%C3%83%C2%A9bardeur-p-33

Reponse HTML: 301, Moved Permanently

GET xxxxxx/product_info.php/d%C3%A9bardeur-p-33

Reponse HTML: 200, OK

 

And, then, when clicking on Add to cart:

 

POST xxxxxx/product_info.php/d%C3%83%C2%A9bardeur-p-33?action=add_product&id%5B2%5D=5&products_id=33

Reponse HTML: 301 Moved Permanently

GET xxxxxx/product_info.php/d%C3%A9bardeur-p-33?action=add_product

Reponse HTML: 302 Moved Temporarily

GET xxxxxx/shopping_cart.php

Reponse HTML: 200, OK

 

 

HELP !!

 

 

Add:

I tried to remove the accent from the product name : "débardeur" is now "debardeur".

It's correctly displayed in admin part. In database, there is no accent.

But there is still an accent in URL !!

(and when I delete the accent in url, press enter, the accent is back....)

I think i'm gonna cry...

 

Many many thanks

Edited by okpoubelle
Link to comment
Share on other sites

Hi again

 

Found (some of) the issue...

The cache reset is awful...

 

In admin/includes/functions/general.php I had to change

tep_db_query("UPDATE " . TABLE_CONFIGURATION . " SET configuration_value='false' WHERE configuration_key='SEO_URLS_CACHE_RESET'");

by

tep_db_query("UPDATE configuration SET configuration_value='false' WHERE configuration_key='SEO_URLS_CACHE_RESET'");

 

And delete manually all files in

/public_html/site/includes/modules/ultimate_seo_urls5/cache

 

 

Someone knows why...?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...