---
title: Goto Parameter Name
description: Renames the goto parameter. The agent appends the requested URL to the renamed parameter during redirection, after logout or after reaching an access denied page. Rename the parameter when your application requires a parameter other than goto.
component: web-agents
version: 2025.11
page_id: web-agents:properties-reference:com.sun.identity.agents.config.redirect.param
canonical_url: https://docs.pingidentity.com/web-agents/2025.11/properties-reference/com.sun.identity.agents.config.redirect.param.html
---

# Goto Parameter Name

Renames the `goto` parameter. The agent appends the requested URL to the renamed parameter during redirection, after logout or after reaching an access denied page. Rename the parameter when your application requires a parameter other than `goto`.

Consider the following example: `com.sun.identity.agents.config.redirect.param=goto2`

A valid redirection URL using the `goto2` parameter may look similar to the following: `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. Note that you configure the access denied page using [Resources Access Denied URL](com.sun.identity.agents.config.access.denied.url.html).

This property also affects [AM Logout URL](com.sun.identity.agents.config.logout.url.html).

Default: `goto`

|                    |                                                                               |
| ------------------ | ----------------------------------------------------------------------------- |
| Property name      | `com.sun.identity.agents.config.redirect.param`   Introduced in Web Agent 4.x |
| Function           | Goto parameter                                                                |
| Type               | String                                                                        |
| Bootstrap property | No                                                                            |
| Required property  | No                                                                            |
| Restart required   | No                                                                            |
| AM console         | Tab: `Miscellaneous`Title: `Goto Parameter Name`                              |
