---
title: "How to redirect my default Jahia web application login page to a customized one?"
url: "https://academy.jahia.com/sites/academy/contents/knowledge-base/2020/redirect-login-page.html"
last_updated: 2026-10-01
---

# How to redirect my default Jahia web application login page to a customized one?

401 login redirect System administrator Developer Jahia 7.3 Jahia 8 Legacy

## Question

I want to redirect unauthenticated users to a custom authentication application instead of the default one for my Jahia web application. How can I do that?

## Answer

By default a request from an unauthenticated user will render the JSP **webapps/ROOT/errors/error_401.jsp** which will handle the default login page. To redirect the user to a custom page you can simply edit this page and add the following statement:

```
<c:redirect url="http://www.yourapplication.com"/>
```

You can also:

- override the errors at the front-end level (Nginx/IIS/Apache2)
- use the community module (not supported by Jahia) [Customize error pages](https://store.jahia.com)
