We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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]
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]
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
The text was updated successfully, but these errors were encountered:
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
Sorry, something went wrong.
No branches or pull requests
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
The text was updated successfully, but these errors were encountered: