Skip to main content

Destination URL

The Destination URL is a redirection type used to redirect to the input URL provided as a query parameter (parameter url) with request. It serves two primary purposes:

  • Redirecting to the Destination URL with Query Parameters
  • Incorporating Destination URL Parts into Redirect Filters

Redirecting to the Destination URL with Query Parameters

You can configure redirects to explicitly redirect users to the Destination URL. When the redirect type is set to Destination URL, AlterURL will redirect to Destination URL. If additional attributes (such as UTM parameters, affiliate tags, etc.) are added to the Redirect, AlterURL will append those query parameters to the Destination URL.

For e.g, If you're running an affiliate marketing campaign, you can append specific affiliate tracking IDs to the Destination URL:

Redirect Request: https://yourcompany.com?url=https://www.amazon.com/products

Attributes: tag=amzn-yourcompany-01

Final Redirect URL: https://www.amazon.com/products?tag=amzn-yourcompany-01

In this example, the user will be redirected to the Destination URL https://www.amazon.com/products with the added query parameter tag=amzn-yourcompany-01.

Incorporating Destination URL Parts into Redirect Filters

The Destination URL can be utilized to set up redirect filters. When configuring redirects in AlterURL, you can use specific parts of the Destination URL (e.g., hostname, path segments, query parameters, etc.) as filters. These filters help control the behavior of the redirects based on specific conditions.

For e.g, Consider a redirect request with the Destination URL https://yourcompany.com?url=https://www.example.com/products. In this case, the hostname of the Destination URL (www.example.com) can be used as part of the redirection filter, allowing you to customize the redirect behavior accordingly.