Skip to content

Instantly share code, notes, and snippets.

@bavington
Created September 30, 2014 10:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bavington/b7d3fd2e321770beecdd to your computer and use it in GitHub Desktop.
Save bavington/b7d3fd2e321770beecdd to your computer and use it in GitHub Desktop.
Magento Multi-site htaccess
RewriteCond %{HTTP_HOST} ^.*orderofficefurniture\.co\.uk
RewriteCond %{THE_REQUEST} ^.*/index.php
RewriteRule ^(.*)index.php$ http://www.orderofficefurniture.co.uk/$1 [R=301,L]
RewriteCond %{HTTP_HOST} ^.*orderbeds\.co\.uk
RewriteCond %{THE_REQUEST} ^.*/index.php
RewriteRule ^(.*)index.php$ http://www.orderbeds.co.uk/$1 [R=301,L]
RewriteCond %{HTTP_HOST} ^.*big-av\.co\.uk
RewriteCond %{THE_REQUEST} ^.*/index.php
RewriteRule ^(.*)index.php$ http://www.big-av.co.uk/$1 [R=301,L]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment