Create internal redirect URLs originating from brand.com in the URL Management module.
URL Management Dashboard
All redirected URLs are listed in the URL Management Dashboard. Click on the URL Title or select the Edit icon in the Action column to edit an existing URL.
Create a New Rewrite Rule
Select New Rewrite Rule or click the + icon in the top right corner.
Complete these fields in the New Rewrite Rule form:
- Redirect Entry Path: Enter the full source URL (the original URL) that is to be redirected elsewhere.
- Redirect Target: Enter the target URL to which the source URL will be redirected.
- Browse Pages: Optionally, select an internal page from this drop-down list to populate the Redirect Target field. This is recommended when redirecting to an internal page.
- Redirect Type: Select 301 or 302. See below for more information.
- Description: Enter an optional description of this redirect for internal reference.
- Target Audience: If the Content Personalization Engine is enabled, you can create an audience in the engine, then select it here to limit this redirect rule to that specific audience.
- Published: Check or uncheck this box to publish or unpublish the rewrite rule.
- Is Regex?: Check this box if the redirect applies to a sequence of characters that specifies a search pattern. When this box is checked, the rule will appear on the Patterns/Regex tab. When it is unchecked, the rule will appear in the URL Management tab.
301 vs 302 Redirects
- 301 is a permanent redirect and the recommended type, as link equity and SEO value from the source URL is transferred to the redirected URL.
- 302 is a temporary redirect. There are very few instances to use this type of redirect. It is not recommended as the SEO value and link equity is lost rather than transferred to the redirected URL.
Use One Redirect Rule to Redirect Multiple URLs
You can enter regular expressions or patterns in the Redirect Entry Path and Redirect Target fields to redirect all variations of an entry path URL to a target URL using a capture group. The capture group (shown as "(.*)" below), allows you to capture all URL variations found at the end of the URL phrase that is changing.
For example, if you wish to rename your Special Offers page from "/specials" to "/offers", you could use a redirect rule with a capture group, as shown below. All variations of URLs starting with "/specials/" would be redirected to the same page with "/offers/" as the new URL path, ensuring visitors reach the new Special Offers URL whenever they attempt to visit the previous version of the page.
If you are creating a static redirect rule ("ABC" URL is redirected to "XYZ" URL), you must include “http://” in the Redirect Entry Path and Redirect Target fields. However, if you are creating a Patterns/Regex rule, where variations of characters found in a URL are redirected, you do not need to include “http://”, in the Redirect Entry Path or Redirect Target fields.