0

my site is like a platform between multiple websites. So I don't want a homepage for each website, and I want to be directly in the first category.

How can I do that? I search for about 1h30 but find nothing wich could help me.

I know how to display custom phtml from a module on a home page, so maybe I can redirect, if I can, how I get the corresponding category of the current website?

Anyone know how to do it?

1

Head over to below path.

Store > Configuration > GENERAL > Web > Default Pages > Default Web URL

Change the value of above input with your desired Url.

for category: catalog/category/view/id/catId"

Replace your catId with your category Id.

Hope this works.

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.