URL Routing in Commerce Websites

Understanding how URL routing works within the context of your Commerce website enables you to effectively implement redirects. The way in which a URL is requested determines the layers of processing that take place before the final page is displayed to users. The following image illustrates the basic ways URL routing can occur:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

As you review the preceding flow chart, note these URL routing sequences:

An additional scenario not illustrated in the flow chart is the routing that occurs for URLs that originate from within an SPA, but trigger behavior similar to a user entering a URL directly into an address bar. For SuiteCommerce websites, this occurs when a user is directed to an SSP outside of the current SSP. For example, this can happen when a user is using the touch point for shopping (shopping.ssp) and then proceeds to the checkout (checkout.ssp) or their account (myaccount.ssp).

Read the following sections to learn more about URL routing in Commerce websites and the best ways to redirect users in particular scenarios.

Related Topics

NetSuite Domain-Level Redirects
Redirect Users with SuiteScript
URL Routing and Single-Page Applications
Traverse Touch Points
Redirect a User After Login

General Notices