Importing Website Redirects
In addition to Setting Up a URL Redirect individually on the Redirect record page, you can use the website redirects import assistant to add and update URL redirects in bulk from a CSV file. The import of up to 100,000 URL redirects is supported.
This import assistant is available at Setup > SuiteCommerce Advanced > Redirects > Import, when the Web Site and Host HTML Files features are enabled. You need the Set Up Web Site permission.
CSV Template File for URL Redirects
The website redirects import assistant includes a link to a CSV template file. Populate your CSV file with the following fields for each redirect record:
Field |
Notes |
---|---|
Domain Name |
Maximum field size=80 |
Redirect From URL |
Must be a relative URL that is also a descriptive URL. Maximum field size=4000 |
Redirect To URL |
Can be any of the following:
Maximum field size=4000 |
Using the Website Redirects Import Assistant
To import URL redirects from a CSV file:
-
Go to Commerce > Hosting > Redirects > Import.
-
Click the Redirect Template File link.
-
Save the CSV file and populate it with your data, following the guidelines provided.
-
In the Import Assistant, click Select, and then browse to your CSV file. Click Next.
The second page of the Import Assistant shows how the fields in your file are mapped to NetSuite fields. This mapping is automated and you should not have to change it.
-
Click Run.
During the import, the system attempts to match the Domain Name and Redirect From URL values to existing redirect records.
-
If a match is found, the import updates the existing redirect record with the Redirect To URL value.
-
If no match is found, the import adds a new redirect record.
You can use the import Job Status page to review the progress of your import. Note that the count of redirect records successfully imported to NetSuite includes only values for Redirect From URL in the CSV file used for import.