Skip to main content

Why does my Umbraco Cloud site redirect to the backoffice login instead of showing the public site?

Written by Joana Knobbe
Updated over 2 weeks ago

Why does my Umbraco Cloud site redirect to the backoffice login instead of showing the public site?

If your Umbraco Cloud site redirects visitors to the backoffice login instead of displaying the public site, the issue is likely related to basic authentication being enabled for the frontend. This article explains why this happens and how to resolve it.

Understanding the Issue

On Umbraco Cloud, basic authentication is a feature that restricts access to the frontend of your site. When basic authentication is enabled, unauthenticated visitors are redirected to the Umbraco backoffice login page instead of being able to view the public-facing site. This behavior is common in the following scenarios:

  • Starter Plan Projects: The Public Access feature is not available on the Starter plan, and basic authentication may be enabled by default.

  • Trial-Type Projects: Basic authentication is often enabled by default on trial projects to restrict public access.

How to Resolve the Issue

To make your site publicly accessible, you need to disable basic authentication for the frontend. Follow these steps:

  1. Log in to your Umbraco Cloud project.

  2. Navigate to the project settings or configuration area where basic authentication settings are managed.

  3. Locate the option for basic authentication and disable it for the frontend.

  4. Save your changes and test the site to ensure it is now publicly accessible.

Additional Notes

  • If you are using a Starter plan, be aware that the Public Access feature is not available, which may limit certain functionalities related to user authentication.

  • For trial-type projects, remember that basic authentication is enabled by default and must be manually turned off to allow public access.

Troubleshooting Tips

  • If disabling basic authentication does not resolve the issue, verify that your hostname is correctly configured and associated with your project.

  • Check for any other access restrictions or settings that might be affecting the frontend.

By following these steps, you can ensure that your Umbraco Cloud site is accessible to visitors without unnecessary redirection to the backoffice login.

Did this answer your question?