MockoB Posted September 7, 2014 Share Posted September 7, 2014 Hi I have question which may sounds stupid to someone but I couldn't find an answer. I need to change my site category structure, I need to move all products from one category which is parent now to category which will be child of the same category. I hope you understand me the problem is that my products are well positioned in serps and I need to make 301 redirect I suppose. I tried to change code in .htaccess file and that led to "internal server error". I managed to repair it by erasing the file from the server and like Vekia suggested in one theme regenerated it by disabling and enabling the friendly urls. After that I changed the product association from the product page setting to the new category and removed it from the old one. Then I checked the old url with redirect checker and it shows me perfect 301 redirect. I tried to access it through google and again it redirects me to the right page. Is prestashop redirecting the products by itself because I can't find information anywhere and I can't see anything additional added in the htaccess file after the change? And is it safe to change all my products category whithout bothering to loose serch engine positions? Sorry for the long post, i hope somebody will read it. Any help will be highly appreciated! Regards, Moskov Link to comment Share on other sites More sharing options...
MockoB Posted September 8, 2014 Author Share Posted September 8, 2014 Please. Anyone ? Link to comment Share on other sites More sharing options...
El Patron Posted September 8, 2014 Share Posted September 8, 2014 uhm, maybe you can do it this way: 1. clone(duplicate) the product 2. assigne cloned product to new category 3. disasble original product, this will then show options of how to handle the old link (in product info page), then you can (from memory mind you), 404/301/302 on redirects you get option to point to 'other' product. http://screencast.com/t/6UZYAaZhO Link to comment Share on other sites More sharing options...
MockoB Posted September 9, 2014 Author Share Posted September 9, 2014 Hi, thanks for you suggestion. I forgot to mention it is 1.5.6.1 but I suppose it is same way also. That way handling products when duplicating makes me think that prestashop handles 301 redirects when associating the products from one category to another. It will be twice less effort to just associating the products to other category. If anyone else have any clue about the way prestashop works please share it with us. Otherwise I should follow El Patron's suggestion. Thanks Link to comment Share on other sites More sharing options...
El Patron Posted September 9, 2014 Share Posted September 9, 2014 Hi, thanks for you suggestion. I forgot to mention it is 1.5.6.1 but I suppose it is same way also. That way handling products when duplicating makes me think that prestashop handles 301 redirects when associating the products from one category to another. It will be twice less effort to just associating the products to other category. If anyone else have any clue about the way prestashop works please share it with us. Otherwise I should follow El Patron's suggestion. Thanks the method I mentioned is also in 1.5.6.1 I can suggest several different ways to do this, but I think (assuming not to many products) that this is the best/easiest method. let us know how you sort it out. Link to comment Share on other sites More sharing options...
MockoB Posted October 17, 2014 Author Share Posted October 17, 2014 I decided not to take the risk moving products. I made new category for the new products and left the old ones in their category. I hope if someone has courage some day to share his experience with me. Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts