Hacker News new | ask | show | jobs
by drikerf 1589 days ago
I've found a compromise to work well. Redirect all visitors from '/' but show all other pages as usual on the marketing site. Also, if someone has navigated to '/' from another page, don't redirect either.

This allows existing users to just enter the domain and get to the app, but also to browse the marketing site if they want.

3 comments

How do you know when not to redirect on '/'? Based on the history if the URL is the same domain? Does it mean that you make it obvious to the user on how to get to the marketing page from the app?

I'm looking into similar approach but unsure what's best.

But everything should be served on / and rendered with JS!
That is how I have done it as well. In addition, almost every page has a footer with links that can direct existing users to pages like pricing, features, support etc.