Fixed landing page

I need /dashboard to be the only landing page after logging in.

If I go to /about without logging in, I need to log in as a validation. However, once I logged in, it goes to /about and I don’t want that. Please help me. Thanks.

https://www.baeldung.com/spring-redirect-after-login