redirect root page to /home

lawrence whittemore asked on January 20, 2020 19:46

my default page loads the home content, but I really need it to redirect to /home. So when the user hits the site they're at myurl.com/home and not just myurl.com

Recent Answers


Brenden Kehren answered on January 20, 2020 20:08

In Settings > URLS and SEO > SEO - URLs and set the Default page property to "Use page defined by default alias path". Assuming your Settings > Content > Web site content has the "Default alias path" property set to "/home".

1 votesVote for this answer Mark as a Correct answer

lawrence whittemore answered on January 20, 2020 21:40

Does this work in MVC?

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on January 20, 2020 21:45

PE only. I believe you need to set up some default routing for that to take place.

1 votesVote for this answer Mark as a Correct answer

Juraj Ondrus answered on January 21, 2020 08:00

As Brended said - when you are using MVC, the routing and URL behavior is fully in your hands and your code of the front end MVC app.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.