Potential issues with multiple home pages

Potential issues with multiple home pages - If a page has internal and external outgoing links to redirecting URLs, it’s returning 3xx (301, 302, etc.) HTTP status codes standing for redirection. This issue means that the page does not exist on a permanent or temporary basis. It appears on most of the popular web browsers, usually caused by a misconfigured website. However, there are some steps you can take to ensure the issue isn’t on your side. You can find more details about redirecting URLs by reading the Google Search Central overview. In this article, we’ll go over how you can fix the Potential issues with multiple home pages error on your web browser. Problem :


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)


Solution :

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 www.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 www.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.


We hope that this article has helped you resolve the seo, redirects, url error in your web browsers. Enjoy browsing the internet uninterrupted!

Comments

Popular posts from this blog

How to redirect to any domain [duplicate]

"302 found" for index page bad for SEO?

Create redirect from url like www.example.us/?p=100&option=