Redirects

(ms.redirects)

URL redirection is used to make a web page direct a visitor to a new URL address.



Fields

ValueDescription
old_url   
Type: string
Required
This field stores the relative path earlier traversed.
/browse/t-shirts
new_url   
Type: string
Required
This field stores the relative path to be traversed.
/browse/tshirts

Commands (Endpoints)

POST /api/1.1/entity/ms.redirects   
Creates a new redirect
DEL /api/1.1/entity/ms.redirects/{resource_id}   
Deletes a redirect
PUT /api/1.1/entity/ms.redirects/{resource_id}   
Updates an existing redirect
GET /api/1.1/entity/ms.redirects/{resource_id}   
Retrieves a single redirect
GET /api/1.1/entity/ms.redirects   
Retrieves a list of redirects