DEVELOPER-343 if the page is undefined, it's the homepage