---
title: Goto Parameter Name
description: Renames the goto parameter. During redirection, the agent appends the requested URL to the named parameter.
component: java-agents
version: 2025.11
page_id: java-agents:properties-reference:com.sun.identity.agents.config.redirect.param
canonical_url: https://docs.pingidentity.com/java-agents/2025.11/properties-reference/com.sun.identity.agents.config.redirect.param.html
---

# Goto Parameter Name

Renames the `goto` parameter. During redirection, the agent appends the requested URL to the named parameter.

Use this property when your web application requires a parameter other than `goto`.

In the following example, the parameter is renamed to `goto2`:

`com.sun.identity.agents.config.redirect.param=goto2`

The redirection URL becomes like this:

`https://www.example.com:8443/accessDenied.html?goto2=http%3A%2F%www.example.com%3A8020%managers%2Findex.jsp`

The URL appended to the `goto2` parameter is the URL that the user tried to access when the agent redirected the request to the `accessDenied.html` page, configured with [Access Denied URI Map](org.forgerock.agents.access.denied.uri.map.html).

|                          |                                                                                                                                                       |
| ------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------- |
| Property name            | `com.sun.identity.agents.config.redirect.param`                                                                                                       |
| Aliases                  | `com.sun.identity.agents.config.redirect.param`   Introduced in Java Agent 5.0   [Recognized](preface.html#how_am_manages_multiple_aliases) from AM 6 |
| Function                 | Global                                                                                                                                                |
| Type                     | String                                                                                                                                                |
| Default                  | `goto`                                                                                                                                                |
| Bootstrap property       | No                                                                                                                                                    |
| Required property        | No                                                                                                                                                    |
| Restart required         | No                                                                                                                                                    |
| Local configuration file | `AgentConfig.properties`                                                                                                                              |
| AM console               | Tab: `Miscellaneous`Title: `Goto Parameter Name`                                                                                                      |
