waterworks2 Posted December 5, 2013 Share Posted December 5, 2013 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 More sharing options...
White Lion Posted December 5, 2013 Share Posted December 5, 2013 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 More sharing options...
vekia Posted December 5, 2013 Share Posted December 5, 2013 check this topic: http://www.prestashop.com/forums/topic/204935-override-friendly-urls-without-id-number-for-v15/ Link to comment Share on other sites More sharing options...
ibndawood Posted December 6, 2013 Share Posted December 6, 2013 I don't think you need an addon. You can go to Preferences -> SEO & URLs and choose schema of URLs to choose your URL schema. https://drive.google.com/file/d/0BxmC16gQK81fWV83RkwxamhKWVk/edit?usp=sharing Link to comment Share on other sites More sharing options...
vekia Posted December 6, 2013 Share Posted December 6, 2013 removing {id} from configuration will not work. it's necessary to modify core. 1 Link to comment Share on other sites More sharing options...
Recommended Posts