# Redirections How to access on Fynd Commerce Commerce Panel → Sales Channel (select application) → Configuration → Redirections ## Introduction As a merchant, you might be creating a website, and then sharing links of your products, collections, deals, marketing pages, and more with your target customers. If you have spent money on advertisements that link directly to a URL on your website, you may never want to lose or change the URL. However, Fynd Commerce allows you to redirect visitors from an old URL to a new URL. It allows you to redirect domains as well as redirect paths. Moreover, this redirection feature works for both [predefined domains](/commerce/docs/manage-website/domain/predefined-domain) and [custom domains](/commerce/docs/manage-website/domain/custom-domain). ## Scenarios of redirection * **Domain Redirection** * Redirect a custom domain to another custom domain on Fynd Commerce **Example**: mytestshop.com → newshop.com * Redirect a predefined domain to a custom domain on Fynd Commerce **Example**: sale.fynd.io → newshop.com * Redirect a custom domain to a predefined domain on Fynd Commerce **Example**: mytestshop.com → sale.fynd.io * Redirect a predefined domain to another predefined domain on the same saleschannel of Fynd Commerce **Example**: deal.fynd.io → sale.fynd.io * **Path Redirection** * Redirect a path from a previous custom domain to a path on the same custom domain on Fynd Commerce **Example**: /data/products/ → /products (on mytestshop.com) * Redirect a path from a predefined domain to a path on the same predefined domain on Fynd Commerce **Example**: /data/products/ → /products (on sale.fynd.io) By using both path and domain redirection in conjunction, you can redirect an old custom/prefined domain having old path, to a new custom/predefined domain having new path. **Example**: mytestshop.com/data/products/ → sale.fynd.io/products/ You can readily use predefined domains such as fynd.io and fyndstore.co for redirections, as you don't have the option to change the **A** records or **TXT** records. For any operation with custom domains, you have to link the domain to your Fynd Commerce account by configuring **A** records and **TXT** record in your domain provider account. ## How to Perform URL and Domain Redirection Redirection allows you to guide customers from your old website paths or domains to your new storefront on the Fynd Commerce. This ensures that users visiting old links, knowingly or unknowingly, are automatically sent to the correct new destination. ### Adding Your Custom Domain (Prerequisite) Before setting up redirections, you must link your existing custom domain to the Fynd Commerce. * **Remove Old Records:** If your domain was previously used on another platform (like Shopify), **delete the domain and subdomains** from that platform first. * **Update DNS Settings:** In your domain provider account, **delete existing A and TXT records**. * **Link to Fynd:** Go to **Sales Channel > Settings > Domains** and select **Add Domain** under the **Custom Domains** tab. * **Configure Records:** Copy the **TXT and A records** provided by Fynd and add them correctly to your domain provider's DNS settings. * **Verify:** Use a **DNS checker website** to confirm the records match before clicking the verification button on the Fynd Commerce. #### Performing Path Redirection Use this option to redirect a specific page (e.g., a "Deals" page) from your old site to a new collection or page on Fynd. * Navigate to **Sales Channel > Settings > Redirections** and select the **Path** option. * **Select Domain:** Choose the domain you recently added. * **Define Paths:** * **From:** Enter the **source path** (the old URL path). * **To:** Enter the **destination path** (the new path on the Fynd Commerce). * **Save:** Once saved, the redirection becomes active immediately. #### Performing Domain Redirection This is used when you want to redirect an entire old domain to a new primary domain on Fynd. * Navigate to **Sales Channel > Settings > Redirections** and choose the **Domain** option. * **Select Domains:** Choose the **reused domain** you wish to redirect and the **target domain** on the Fynd Commerce it should point to. * **Redirection Type:** Choose whether you want the redirection to be **temporary or permanent**. * **Save Details:** After saving, any user entering the old domain in their address bar will be sent to the new domain. > Redirecting a domain also affects your path redirections. For example, a user visiting an **old path on an old domain** will be automatically redirected to the **new path on the new domain**.