mr_c Posted August 31, 2009 Share Posted August 31, 2009 I have it turned on and my category urls turn out like this www.mysite.com/5-generic-name/ but when i look at a product inside that category, the product comes up aswww.mysite.com/generic-name/product.htmlbut then, if i type www.mysite.com/generic-name in the browser, it doesnt work, i have to include the "5-" first. Is it possible to make the url rewriting of category url's not include the ID? I think it looks more tidy and professional as www.mysite.com/generic-name, as opposed to 5-generic-name. And also, in case a customer is looking at a product and then instead of pressing back or whatever button, he/she deletes the product.html, expecting to be able to browse the category, finds that it doesn't work.Any input about the subject that i do not know about? and any way to do this?Thanks Link to comment Share on other sites More sharing options...
CYTechnologies Posted August 31, 2009 Share Posted August 31, 2009 You would need to change the way the system looks up categories when using the SEO friendly urls. Its not impossible at all. If I get some free time I will check the code to see what you would need to do. Link to comment Share on other sites More sharing options...
Radu Posted September 1, 2009 Share Posted September 1, 2009 I think i won't be easy because of how presta uses rewrites in htaccess. It doesn't use a bootstrap like wordpress for instance rewriting everything to index.php and from there looking up the proper page.But it will be a good improvement for future versions. Link to comment Share on other sites More sharing options...
Shenit Posted September 1, 2009 Share Posted September 1, 2009 I found 1 more problem with URL rewrite. For example my category page is www.mysite.com/1-cellphone, however if i type www.mysite.com/1- or www.mysite.com/1-abcdef or whatever behind the 1- it will still redirect to the category page instead of the page not found page. Somehow google had crawled my pages with different URL and causes page duplication. Does this effect SEO? as google webmaster shows us that it is a problem. Please advice Thank you Link to comment Share on other sites More sharing options...
Radu Posted September 1, 2009 Share Posted September 1, 2009 indeed this is a real problem and needs to be solved asap. I'll take a look when I have some time Link to comment Share on other sites More sharing options...
rocky Posted September 2, 2009 Share Posted September 2, 2009 See this post for a solution from the Prestashop team. Link to comment Share on other sites More sharing options...
Recommended Posts