htaccess rewrite rule for multiple store views


/ Published in: Apache
Save to your folder(s)



Copy this code and paste it in your HTML
  1. RewriteCond %{HTTP_HOST} ^(.*)www.domaine.xx
  2. RewriteRule ^ - [E=MAGE_RUN_CODE:store_view_code_1]
  3. RewriteCond %{HTTP_HOST} ^(.*)www.domaine.yy
  4. RewriteRule ^ - [E=MAGE_RUN_CODE:store_view_code_2]

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.