Mobile app version of vmapp.org
Login or Join
Pierce454

: Potential issues with multiple home pages I have a site where I want to have two different home pages: a general description page for anonymous users, and a dashboard page for logged-in users.

@Pierce454

Posted in: #Cache #LoadTime #Redirects #Seo #Url

I have a site where I want to have two different home pages: a general description page for anonymous users, and a dashboard page for logged-in users.

I am debating between two implementations:


Both pages live at /
The page for anonymous users is located at / and the dashboard is at /dashboard, with automatic redirection between them based on whether a given user is logged in (e.g., if you're logged in and navigate to /, you are redirected to /dashboard.


Is it cleaner to have both pages use the same URL or separate URLs?

Also, I imagine that choices for that question will affect the following:


Caching: the anonymous page would be completely cached, while the logged-in page would not be cached at all (except for static resources). This could lead to issues with server caching, request speed, and UX (such as if one version of the page is cached in a user's browser when the other version should be displayed, instead).
SEO: how would search engines react to such canonical URLs?
Load time (due to redirects or to the server having to always reevaluate which page to display)

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Pierce454

1 Comments

Sorted by latest first Latest Oldest Best

 

@Angela700

If users have to login to view the dashboard page, you should have no problem with SEO since it's a private area on your site given you keep the dashboard at / Google and others would always cache and see the public version such as facebook.com's public home page vs your dashboard once logged in.

A SaaS site I had developed uses example.com as the public site. And each user is given their own subdomain. They also must login at their subdomain URL. Any attempt to login to another users subdomain display a generic error on the page.

The home page has a small function to check for a session and if a visitor is on the home page at example.com rather than seeing a login link it says My Account which links to their dashboard.

As for caching of the dashboard to your members you can always add time stamps or versions to your CSS, and JS files in your header such as .css?05302012 so that users are always downloading the most recent version.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme