DARKF3D3 Posted October 9, 2014 Share Posted October 9, 2014 (edited) I'm redirecting an old ecommerce to my new store. To do that I'm creating manually rules in htaccess file because these shops use different pages url. I redirected almost all the pages, but i have some doubt. 1°: Redirecting categories with multiple pages to the first page of the new category: Actually I done it in this way, but I'm wondering if there's a way to do it's automatically, without the need of creating a rul for every page. redirect 301 /14-gadget http://website.it/1-new-category redirect 301 /14-gadget?p=2 http://website.it/1-new-category redirect 301 /14-gadget?p=3 http://website.it/1-new-category redirect 301 /14-gadget?p=4 http://website.it/1-new-category redirect 301 /14-gadget?p=5 http://website.it/1-new-category redirect 301 /14-gadget?p=6 http://website.it/1-new-category redirect 301 /14-gadget?p=7 http://website.it/1-new-category redirect 301 /14-gadget?p=8 http://website.it/1-new-category 2°: Redirect all search query: How can i do that? I would like that all search query made on the old domain arrive on the new domain, so for example: http://old-website.com/cerca?controller=search&search_query=iphone&submit_search=Cerca Should become: http://new-website.com/cerca?controller=search&search_query=iphone&submit_search=Cerca So it should maintain all the link right after "... .../cerca?". 3°: Redirect only the home page: "http://old-website.com/" to "http://new-website.com/" How can i do that? Edited October 9, 2014 by DARKF3D3 (see edit history) Link to comment Share on other sites More sharing options...
DARKF3D3 Posted October 9, 2014 Author Share Posted October 9, 2014 Any idea on how to do correctly this redirect? Link to comment Share on other sites More sharing options...
intermediadorpopular Posted December 20, 2014 Share Posted December 20, 2014 I also need the same thing .... Link to comment Share on other sites More sharing options...
Recommended Posts