Jump to content

Redirect 301 to new store


DARKF3D3

Recommended Posts

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:
Should become:
So it should maintain all the link right after "... .../cerca?".
 
3°: Redirect only the home page:
How can i do that?
Edited by DARKF3D3 (see edit history)
Link to comment
Share on other sites

  • 2 months later...
×
×
  • Create New...