Jump to content

SEO-Friendly URLs not working if product name ends with a number


martin10179

Recommended Posts

Prestashop-Version: 1.7.5.2

Hi, 

I have noticed a strange error today when entering new products.

If I enter a product name with a number in the end, such as "Product 3" the SEO-friendly URLS will not work and throw an 404-error when I want to open the product page.

When I extend the product name to "Product 3 Blah", then the SEO-friendly URLS work. Seems there must be no number at the end of the product name for now. 

I think this is a bug that needs to be corrected. 

Anyone with the same problem?

Cheers

Martin

 

Edited by martin10179
typo (see edit history)
  • Like 1
Link to comment
Share on other sites

  • 3 years later...

Hey! I have the the same problem. Did you find any solution for this?

The only solution that I have found for the moment is solving the products one by one and redirecting each one. But that's not a viable solution when you have a lot of products.

Now I am trying to make a rule to redirect URLs of all products. It would be very easy to change the URL pattern of the products, but sometimes it is not possible if you want to maintain the SEO of your links.

My products URL pattern has to be: {rewrite}-{id}{-:id_product_attribute}{-:ean13}.html because I want to keep the same patter as version 1.6 now that I'm upgrading to 1.7.

If u want, u can find my question here

Edited by TheCHE (see edit history)
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...