Jump to content

Remove ID from URL of category & product


Recommended Posts

Is there a way to not show the [ id ] in the URL as part of the category and/or product? For instance, right now I have:

 

http://www. [mydomain] .com/4-category/

 

What I wish to have:

 

http://www. [mydomain] .com/category/

 

oddly, when I click on a product though, the category loses the ID in the URL, but then the ID tag shows on the product name.

 

Ideally, I would like:

http://www. [mydomain] .com/category/product-name.html

 

and 

 

http://www. [mydomain] .com/category/

 

Is there a way to achieve this, or is it absolutely and necessary to have the ID within the URL for SEO purposes or something along those lines?

Link to comment
Share on other sites

Hello waterworks2

You can do it using "Module Pretty URL" module.

 

http://addons.prestashop.com/en/seo-prestashop-modules/3113-pretty-url-remove-ids.html

 

I've did this for my shopping cart. But some experts said IDs are useful to find correct link. then i've disabled id removing.

 

Eg 01.

You have product category like this name "Mobile Phones".

This is your url

yourweb.com/4-mobile-phones

 

your website visitor copy paste or type it with some misspellings like "yourweb.com/4-mobile-phone"

But it is redirect to  correct link with Category ID

 

 

 

Eg 02:
You have product like this name "Samsung Galaxy S4".

This is your url

yourweb.com/mobile-phones/105-samsung-galaxy-s4.html

 

After a week, you got "Samsung Galaxy S4 I9505" and you want to modify above model as "Samsung Galaxy S4 I9500"

This is your url

yourweb.com/mobile-phones/105-samsung-galaxy-s4-i9500.html
 

but your old link also worked with new link and it will redirect to new link.

But after removing Product ID, you old link does not work

Link to comment
Share on other sites

×
×
  • Create New...