Using the redirect importer
This topic explains the steps for importing redirects into Brightspot.
Step 1: Create the import file
- In Google Sheets, create a new worksheet.
- In the first row, enter column headings
Local Path
,New URL
,Status
, andQuery String
. - Add redirects by doing the following:
- In the
Local Path
column, enter the path after the domain name in the URL from which you are redirecting. For example, if the source URL ishttp://brightspot.com/case-studies
, enter/case-studies
. - In the
New URL
column, enter the URL to which you are redirecting. Include a domain name and path. - In the
Status
column, enter either301
(permanent redirect) or302
(temporary redirect). A blank in this column defaults to a permanent redirect. - In the
Query String
column, enter one of the following:preserve
—Append the incoming query string to the URL in the New URL column.ignore
—Do not append the incoming query string to the URL in the New URL column. (A blank in this column defaults toignore
.)modify
—Prepare the vanity redirect for further modification.
- In the
Note
A redirect file can be imported only once. If you need to make corrections to imported redirects, submit them in a new Google Sheets file.
The following illustration is an example of a redirect import file.
Step 2: Import the redirects into Brightspot
- In the search panel, filter for the content type Google Drive File.
- Click the Sheets file containing the redirects.
- In the Google Drive File widget, from the Converter list, select Vanity Redirect Google Drive File Converter.
- If you want to override existing redirects, toggle on Overwrite Existing Redirects. For example, if there is an existing redirect from A to B, and your import file specifies A to C, this toggle ensures there is one redirect from A to C.
- Click Import.
- In the Dashboard, review the import results in the Recent Activity widget.
- For any imports with query string set to
modified
, open the vanity redirect and configure the key-value pairs. For details, see Adding redirect vanity URLs.
See also:
Previous Topic
Video demo: Redirect importer
Next Topic
Review cycles