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

when store not found in multistore setup, it should redirect properly #818

Closed
m4mum opened this issue Aug 3, 2013 · 1 comment
Closed

Comments

@m4mum
Copy link

m4mum commented Aug 3, 2013

  1. Fresh install multistore setup let's say on http://mystore.com
  2. Add sub-domain http://store1.mystore.com/ from admin panel
  3. Try accessing http://somerandomstore.mystore.com

In index.php, it is not finding somerandomstore url so it is setting store_id as 0 (master store/main store) and all cookies etc set as per main store, but It does not show user about error! (or even not re-directing to main store).

Due to this, all sub-sequent cross domain request set-up (by external module/plugin) is not working!

Reco Behaviour:

  1. either show error page/404 etc
  2. redirect properly to default/main store.

PS : I have store/dns all setup with this with 1.5.6 version (latest stable) If anyone wants to check more than happy to share details. plz mail on raxit[at] m4mum [dot] com
Raxit

@danielkerr
Copy link
Member

this can be setup from the /htaccess.

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