I am working on a multistore setup. There is a problem with admin area: it is redirecting after login to base domain admin domain.com
I am using this code in .htaccess for multiple stores:
RewriteCond %{HTTP_HOST} (.*)?domain\.us [NC]
RewriteRule (.*) - [E=MAGE_RUN_CODE:usa]
RewriteCond %{HTTP_HOST} (.*)?domain\.us [NC]
RewriteRule (.*) - [E=MAGE_RUN_TYPE:website]
Is there any way we can separate both admin panels? If an admin user logs in to domain.us so he can access only domain.us with all features, not the base domain.com ?
One more question: is there any difference of MAGE_RUN_TYPE
website and Store?