I have this situation:
- Site1.com (3 store views: en, it and de)
- Site2.com (1 store view)
I need to redirect everything from site1.com
(only en
store view which is default) to site2.com
. The other 2 store views that should remain on site1.com
are separated like this:
- Site1.com/it
- Site1.com/de
Any help would be welcomed, thanks!
Is possible using Magento URL Management to redirect links to external site? All I could find was how to redirect inside the same domain name.
I think I found it myself how to do it with .htaccess
:
RewriteCond $1 !^it
RewriteCond $1 !^de
RewriteRule (.*) http://www.site2.com/$1 [R=301,L]