Other Add-onsImport URL Redirects

Import URL Redirects

Sana Commerce 9.2
Your connector

Requirements to the CSV File

To import URL redirects into Sana, you should fill in the CSV file with the following data:

Field Description
Alias Enter the alias of a URL redirect.
Link Enter the URL of the internal web store page or the external website URL.

The internal Sana URLs must be specified without web store domain. If you create a redirect for the internal web store page, you must enter the part of the URL which is after the web store domain with all slashes.

     Make sure that the internal page URLs are the same as they are shown on the "URL redirects" page in Sana Admin. Otherwise, the redirect will not work.

Example: /profile/register 

Example: new-arrivals

If you have language packs installed, and you need to create a redirect for the internal web store page in a certain language, you must enter the part of the URL with the language culture name.

Example: /en-us/profile/register



If you create a redirect to the external website, you must enter the complete website URL with the protocol.

Example: https://www.sana-commerce.com/



In Sana Admin, click: Web pages > URL redirects, and check how URL redirects are built in Sana. For more information, see 'URL Redirects'.

IsPermanent Define whether this is a permanent redirect. This parameter defines how a Web browser issues a new request at a different location.

Available values:

  • TRUE - permanent redirect (301 status code). Used to tell the Web client that the location for the requested resource has permanently changed.
  • FALSE - found (302 status code). Used to tell the Web client to issue a new request to the location.

See an example of URL redirects in the CSV file:

Other Add-onsImport URL Redirects