URL Routing

Overview

URL Routing is used to configure the URL routes of the pages of a project. When a page is created, the base URL and a URL route of the page is created automatically with the destination URL.

There are three types of URL routes:

  • Rewrites – Rewrites the base URL with a new URL. Using this type, multiple URLs can be given for a page. This helps in page searching.
  • Redirects – Redirects the base URL with a new destination URL. This helps to redirect to a new page when an error occurs.
  • Directs – Maps the base URL and destination URL of a page.

Note: You can drag and drop the URL routes as per the business requirements, based on the order of the URL routes, the pages are loaded.

How To

A user can:

Adding a URL Route

You can add a URL route for a page.

To add a URL route for a page,

  1. Log in to the Infosys Equinox Studio environment with valid credentials provided to you.
  2. Open the required project.
  3. Click in the left panel:
  4. Select URL ROUTING:
  5. Click the ADD NEW ROUTE button:

    A new route is added:
  6. Select the type:
    • Directs – For this type, you need to provide a unique base and destination URL
    • Rewrites – For this type, you need to provide multiple base URLs for a destination URL (same page)
    • Redirects – For this type, you need to provide an alternate destination URL for a base URL
  7. Provide a Base URL.
  8. Provide a Destination URL.
    A URL route is created for the page.

Deleting a URL Route

You can delete a URL route.

To delete a URL route,

  1. Log in to the Infosys Equinox Studio environment with valid credentials provided to you.
  2. Open the required project.
  3. Click in the left panel:
  4. Select the URL ROUTING option:
  5. Click available next to the URL route.
  6. Select Delete from the dropdown list.
    The URL route is deleted:

 

Revision History

Date   Description  Created By  Peer-Reviewed By  Approved By 
2023-06-26  Page created and content added.  AN JP Suganya