Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multishop/language #17

Open
Top-CMS opened this issue Feb 17, 2016 · 1 comment
Open

multishop/language #17

Top-CMS opened this issue Feb 17, 2016 · 1 comment

Comments

@Top-CMS
Copy link

Top-CMS commented Feb 17, 2016

Great,

But what if I have a shop with to urls (languages)?
In your example
RewriteRule ^(.*)index.php$ http://www.yourdomain.com/$1 [R=301,L]

so second url?
RewriteRule ^(.*)index.php$ http://www.yourdomain.co.uk/$1 [R=301,L]

same for

redirect 301 /home http://www.yourdomain.com
redirect 301 /home http://www.yourdomain.co.uk
@JuanjoR
Copy link

JuanjoR commented Jun 1, 2016

This is the trick:

    RewriteCond %{HTTP_HOST} !^$
    RewriteCond %{HTTP_HOST} !^www\. [NC]
    RewriteCond %{HTTPS}s ^on(s)|
    RewriteRule ^ http%1://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

and you need to set in System-->Configuration-->Web-->Auto-redirect to Base URL-->NO

Source : http://magento.stackexchange.com/questions/42716/multiple-domains-multiple-store-view-and-redirect

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants