Home » Categories » Multiple Categories

Creating and Importing 301 Redirects

Overview: This article will discuss how to create 301 redirects from CPOnline and import them into NCR Retail Online.

 

Creating and Importing 301 Redirects





CPOnline Merchants

A 301 redirect is a permanent redirection of a webpage to a new location. Whenever someone tries to access the old link, they will be automatically directed to the new location. These new locations will also be used by search engines to direct their results to these new locations.

When moving from CPOnline to NRO, it is recommended that redirects be created and imported just before going live. Importing redirects during development will force search engines and crawlers to start pointing CPOnline locations to the NRO store.

To complete this process, please follow the steps below:

1) Log into the CPOnline Store Management site, and access Tools + Utilities > 301 Redirects for NRO. The redirects utility will allow you to dictate whether you want to export products, categories, both, or even select individual categories.



Prior to exporting the redirects, ensure that the NCR Retail Online Store ID is always set to 1. This setting is primarily for importing redirects into multiple NRO stores. At this time, NRO does not have boutique or multi-store functionality.

2) Once the selections have been made, click Create Export File. This will open a new window filled with text and code. Use the web browser to save this information by going to File > Save As. Please save this to an easily accessible location.

3) To import the file, log in to the NRO Admin Panel, and go to Catalog > URL Rewrites > URL Rewrite Import / Export.

4) Under the Import URL Rewrites section, click on Choose File (or Browse, depending on how your browser displays the button).

5) Select the URL rewrite file exported from CPOnline, and click on Import URL Rewrites. When complete, NRO will state how many rows have been imported into the system.




Other Ecommerce Merchants

Creating 301 redirects for non-CPOnline merchants is a little more complex. A comma-delimited text file must be created for import into NRO. Below is the information needed to create the file. An example file has also been attached to this article. 

 

Your import file must be a comma-delimited file in the following format, with the following header record as the first line in the file:

"Store View","ID Path","Request Path","Target Path","Redirect","Description"

Store View:(Required)If you have a single online store, this value should always be"1". If you have multiple online stores, you should include a rewrite record for each store where the rewrite will apply. Contact Support for help in determining what Store View value to use for each store

ID Path:(Required)A unique identifier for your rewrite, which can be any value you want, as long as it's unique. Recommendation: Use the same value as the Request Path.

Request Path:(Required)The relative path of the incoming URL that you want to have redirected. Example:"browse.cfm/2,1234.html". Must be unique.

Target Path:(Required)The relative path of the page where the request path should be redirected. Example:"jewelry.html". If this page does not exist, your visitor will be redirected to the 404 (Page Not Found) page.

Redirect:(Required)Indicates the type of redirect. Use"RP"for 301 Permanent, or"R"for 302 Temporary. If this field is blank, the redirect will be disabled.

Description:(Optional)Short description of this redirection rule.


Example:
"Store View","ID Path","Request Path","Target Path","Redirect","Description"
"1","browse.cfm/2,1234.html","browse.cfm/2,1234.html","jewelry.html","RP",""


Once the file has been created, use the steps below to import it.

1) To import the file, log in to the NRO Admin Panel, and go to Catalog > URL Rewrites > URL Rewrite Import / Export.

2) Under the Import URL Rewrites section, click on Choose File (or Browse, depending on how your browser displays the button).

3) Select the URL rewrite file, and click on Import URL Rewrites. When complete, NRO will state how many rows have been imported into the system.
Attachments (1) Attachments
Comments Comments
There are no comments for this article. Be the first to post a comment.
Related Articles RSS Feed
How do I make my site responsive?
Added on Thu, Jul 30, 2015
Google Sitemap
Added on Fri, Sep 11, 2015
Google Analytics
Added on Fri, Sep 11, 2015
Google Product Feed
Added on Fri, Sep 11, 2015
Setting Up A Custom Mapping File
Added on Thu, Mar 17, 2016
Setting up Two Factor Authentication
Added on Mon, Jun 5, 2017
Setting Up Google Error Notification Emails
Added on Fri, May 18, 2012
Meta Tags and How to Add Them
Added on Mon, May 21, 2012