1

My website has 2 stores

there are two different store codes for that

the first is us and the second is ms

when I enter mysite.com then it redirects to mysite.com/us

but I want to change it to mysite.com/ms

How to achieve this? Any help would be appreciated.

2
  • let me know what you have tried to achieve this? it will helpful to give solutions for moderators.
    – Sathish
    Dec 24, 2018 at 13:14
  • Do you have store views or stores? Dec 24, 2018 at 13:25

1 Answer 1

1

In your database Search for table 'mag_core_config_data'

In that table, there is one field scope_id which is set according to your websites.

The site is redirected according to this store id. you need to set proper id for your website.

I have set lower id to mysite.com/ms than mysite.com/us.

It worked for me. you can also try if you are facing the same problem.

1
  • by using htaccess, also can be redirected. Dec 27, 2018 at 4:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.