Skip to main content

Devbit

Set the homepage for anonymous users to login page

The homepage for visitors of your system should be the user login page (/user/login). This might make sense for logged-in only platforms and similar projects.

Access front page setting here: /admin/config/system/site-information

Set home page to user login
page:
  front: /user/login

Issue:

The homepage for visitors of your system should be the user login page (/user/login). This might make sense for logged-in only platforms and similar projects.

Solution:

Add /user/login in the `system.site.yml` to manipulate the front page.

Profilfoto Lothar Neumann

Lothar Ferreira Neumann

Junior Drupal Entwickler

Ihre Drupal-Website zukunftssicher machen

Wir prüfen Ihr System und zeigen, was Sie für AI, Wartung und Upgrades brauchen.