WebSphere Commerce Developer

Testing legacy URLs to SEO-friendly URLs redirect in storefront

In this lesson, you test your customization of legacy URLs redirecting to SEO-friendly URLs as a shopper in the AuroraESite store.

About this task

To ensure that your customization was implemented correctly, navigate to a product page and check the URL.

Procedure

  1. Find a legacy URL to a product or category page. The legacy URL has a format similar to the following example (also see the following example image).
    ProductDisplay?catalogId=10501&storeId=11201&productId=14203&langId=-1&top_category=10529&parent_category_rn=10530
    or:
    /Product2_11201_10501_14203_-1_10529_10530_10530_ProductDisplayErrorView 

    Store page with the legacy URL

    Store page with the legacy URL

  2. In a web browser, enter the legacy URL.
  3. Observe that the URL is reformatted into the new SEO-friendly URL structure, as shown in the following image.

    Store page with the redirected SEO URL

    Store page with the redirected SEO URL

Results

You modified the web application to carry out more logic to check for full URL redirects on the storefront.