·¬ÇÑÉçÇø

Adding vanity redirect URLs


This topic explains how to add vanity redirect URLs for your assets. For information about when this type of redirect is useful, see Types of redirects.

To add vanity redirect URLs:

  1. Click menuAdmin > Vanity URL Redirects.
  2. From the Create widget, click New Vanity URL Redirect.
    Creating a new vanity redirect Creating a new vanity redirect
    Creating a new vanity redirect
  3. In the Name field, enter a description of this redirect. If no name is entered, this field defaults to the local URL and the destination URL, separated by a ->.
  4. In the Local Urls field, enter the path after the domain name in the URL from which you are redirecting. For example, if the source URL is http://brightspot.com/video-integrations, enter /video-integrations. Click to add add multiple paths.
  5. In the Destination field, enter the redirect's target URL.
  6. Toggle on Temporary if you want the browser or search engine to treat the redirect as temporary. If set, the server returns an HTTP 302 temporary redirect; otherwise, it sends a 301 permanent redirect. (For an explanation of the difference between permanent and temporary redirects, see Asset URLs.)
  7. In the Query String field, select one of the following:
    • preserve—When redirecting, append an incoming query string to the URL in the Destination field.
    • ignore—When redirecting, do not append an incoming query string to the URL in the Destination field.
    • modify—Modify the incoming query string.
  8. Complete your site's workflow and publish the asset.


The following illustrations comprise an example of a vanity redirect.

New Vanity URL Redirect New Vanity URL Redirect
New Vanity URL Redirect
Modifying query strings in a redirect Modifying query strings in a redirect
Modifying query strings in a redirect

Referring to the previous images, and assuming the current site is at brightspot.com, —

  • Visitors attempting to view the asset at http://brightspot.com/video-integrations are redirected to https://brightspot.com.
  • Similarly, visitors attempting to view the asset at http://brightspot.com/audio-integrations are redirected to https://brightspot.com.
  • Visitors attempting to view the asset at http://brightspot.com/media-pricing?product-id=25 are sending a query string with the request. Because this vanity redirect modifies query strings, those visitors are redirected to https://brightspot.com?new-product-id=125.
Tags
Our robust, flexible Design System provides hundreds of pre-built components you can use to build the presentation layer of your dreams.

•
•
•
Brightspot is packaged with content types that get you up and running in a matter of days, including assets, modules and landing pages.

• Content types
• Modules
• Landing pages
Everything you need to know when creating, managing, and administering content within Brightspot CMS.

• Dashboards
• Publishing
• Workflows
• Admin configurations
A guide for installing, supporting, extending, modifying and administering code on the Brightspot platform.

• Field types
• Content modeling
• Rich-text elements
• Images
A guide to configuring Brightspot's library of integrations, including pre-built options and developer-configured extensions.

• Google Analytics
• Shopify
• Apple News