gigant09 Posted December 26, 2013 Share Posted December 26, 2013 Hi, Shop 1: Prestashop 1.5.3.1: URL looks like: www.shop.com/category/id-product.html -> I can also use link like www.shop.com/id-product.html to get to the product -> Route to products: {id}-{rewrite}.html Shop 2: Prestashop 1.5.6.1: URL looks like: www.shop.com/id-product.html -> I can't use link like www.shop.com/category/id-product.html to get to the product -> Route to products: {id}-{rewrite}.html All id's of products or categories are same. If I change the route to products in shop 2 to: {category}/{id}-{rewrite}.html it shows the link with category but can't use this link anymore: www.shop.com/id-product.html Whats wrong? Any ideas? Link to comment Share on other sites More sharing options...
sadlyblue Posted December 26, 2013 Share Posted December 26, 2013 you can check the .htaccess in both and check the diference. also, you can add rules so the link: www.shop.com/id-product.html works in shop 2. I'm not an expert in programming the htaccess file, but try comparing both. Link to comment Share on other sites More sharing options...
gigant09 Posted December 26, 2013 Author Share Posted December 26, 2013 I've checked htaccess file, there's no difference and I even tried to copy some code snippets which I couldn't find in htaccess file from my new store. I added a redirect: redirectMatch 301 ^/category/id-product.html$ http://www.shop.com/id-product.html and sure it works with a 301 redirect but is it necessary to do that for all product urls? I've checked link.php and there are some differents but I'm not a expert.... 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