0

How would I set a a unique home page per store in Magento 2? Is there a way to do this programmatically and in the admin panel as well?

5

This can be done through the admin, you just need to set the CMS page to only display on the store view you wish instead of all store views.

  1. In the admin go to content > pages
  2. On the right hand side in the 'action' column you should see 'select', click on the relevant select for your CMS page and choose edit (the URL for home pages is home) Select
  3. Change the store view to the store you want this home page to display for and click save. Store scope
  4. Do this for each store/CMS page.

Additional method

As @JoeConstant commented below:

Additionally, you can change which CMS page is the home page in Stores->Configuration->General->Web->Default Pages->CMS Home Page for each website just like in M1.

  • 8
    Additionally, you can change which CMS page is the home page in Stores->Configuration->General->Web->Default Pages->CMS Home Page for each website just like in M1 – Joe Constant Aug 31 '16 at 22:59
  • @JoeConstant You comment helped me. Thanks – Jai Aug 1 '17 at 8:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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