killeer Posted May 29, 2014 Share Posted May 29, 2014 Hi Guys i have posted this else ware on here but i have not got a single response, mabye i posted in the wrong section? anyway i have friendly url's turned on and site map on google however google has over 2000 crawl errors as it cant locate the url's in the site map, prestashop is adding the ean numbers at the end of the product url ( this is not reflected in the site map ) which looks ulgy as hell and is stopping the urls being indexed. is there any chance anyone knows how to remove the ean numbers from the product url? regards richard Link to comment Share on other sites More sharing options...
Paulito Posted May 29, 2014 Share Posted May 29, 2014 Hello Read this topic to see if it helps http://www.prestashop.com/forums/topic/71915-solvedean-number-behind-my-simplified-url/ Paul Link to comment Share on other sites More sharing options...
killeer Posted May 29, 2014 Author Share Posted May 29, 2014 Hi Paul Thanks for the reply, yea tried that a few days ago dont work Link to comment Share on other sites More sharing options...
CartExpert.net Posted May 30, 2014 Share Posted May 30, 2014 Hi. Edit classes/Link.php Change line 53 to: return ($this->allow == 1)?(_PS_BASE_URL_.__PS_BASE_URI__.$this->getLangLink().((isset($product->category) AND !empty($product->category) AND $product->category != 'home') ? $product->category.'/' : '').(int)$product->id.'-'.$product->link_rewrite.'.html?deletePicture='.$id_picture) : Comment lines 86-89 Comment lines 114-117 You can also create an override file with the above changes. Regards.Robin.The CartExpert Team Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now