> For the complete documentation index, see [llms.txt](https://docs.momocode.de/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.momocode.de/en/shopware-6/login-redirect/3.-configuration.md).

# 3. Configuration

After the app has been installed, you need to open the app configuration.

### Classification of cookies

The app uses cookies, you can determine whether the login redirect should be classified as technically necessary or as a comfort function. If you classify it as technically necessary, the redirect is always active, without explicit consent of the customer. If you classify it as a comfort function, the customer must first allow cookies in the Cookie Consent Tool in order for login redirect to work for them. If you are unsure how the function should be classified in your case according to the data protection regulations best to contact a data protection advisor.

### Redirect for different page types

You can now enable login forwarding for the following page types:

* Home Page
* Category Pages
* Search Pages
* Product Detail Pages
* Cart Page
* Wishlist Page
* Landingpages

For example, if you now enable only the "Product Detail Pages" page type, then login redirection will take place only if one went to the login from a product detail page. If one went to the login from one of the other pages, then it will redirect to the account area home page.

How to add page types in a custom plugin, if necessary, can be found in [4. Add custom page types](https://docs.momocode.de/v/en/shopware-6/login-redirect/4.-custom-page-types).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.momocode.de/en/shopware-6/login-redirect/3.-configuration.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
