CMS-General

Redirect a page or blog post

Last updated: July 8, 2019

Applies to:

Marketing Hub  Professional, Enterprise
Legacy Marketing Hub Basic
HubSpot CMS

With the URL redirects tool, you can redirect traffic from a HubSpot-hosted page or blog post to any URL. You can also set up rules to dynamically update the structure of URLs with a flexible pattern redirect. To update URL redirects in bulk, learn how to upload redirects.

Add a new redirect

  • In your HubSpot account, click the settings icon settings in the main navigation bar.
  • In the left sidebar menu, navigate to Domains & URLs.
  • Click the URL Redirects tab.
  • In the upper right, click Add URL redirect.
  • In the right panel, select the Standard or Flexible redirect type. A standard redirect is used to redirect one URL to another. A flexible redirect updates URLs based on the way they're structured.
  • In the Original URL field, enter the full URL or URL path that you want to redirect.
  • In the Redirect to field, enter the URL of the page you want the original URL to redirect to. When redirecting to an external page that's not hosted on HubSpot, be sure to enter the full URL including http:// or https:// (e.g., http://www.domain.com/name-of-page).

Please note: HubSpot automatically encodes URLs with special characters. For example, the tool will automatically convert é into %C3%A9 when it's added.

  • Click More options to customize the redirect or add a note.
    • Redirect style: select one of the following:
      • Permanent (301): redirect one page URL to another URL. This is the default selection for new redirects.
      • Temporary (302): temporarily redirect one page to another URL. This type of redirect is often used to temporarily redirect traffic for website maintenance or a redesign.
      • Proxy: redirect the content of your live page without changing the URL displayed on the visitor's web browser. This type of redirect is often used to share a file that's hosted on a specific directory outside your main site.
    • Priority: by default, new redirects are assigned the lowest priority. If more than one redirect exists for the original URL, the redirect with the lowest priority will be applied. To customize this setting, clear the Assign lowest priority checkbox and enter a custom value.
    • Match query strings: only redirect the page from the exact original URL entered. This means that if the original URL has any parameters appended, the redirect won't be applied. This option is not selected by default.
    • Ignore trailing slash: apply the redirect whether the original URL includes a forward slash / at the end or not. This option is selected by default.
    • Ignore protocol (HTTP or HTTPS): apply the redirect whether the original URL starts with http:// or https://. This option is selected by default.
    • Disable redirect if a page exists at the redirected URL: apply the redirect only when the original URL is unpublished. If the original URL is live, this redirect won't be applied. This option is not selected by default.
    • Note: add some details about why this URL redirect was created.
  • After customizing your redirect options, click Add URL redirect .
To edit, delete, or change the priority of an existing URL redirect, click the Actions dropdown menu and select Edit. Make any changes to your redirect options, then click Update URL redirect.

edit%20redirects

 

Manage URL redirects

On the URL Redirects dashboard, you can search, filter, or sort your URL redirects.

  • Click the All URL redirects dropdown menu to filter redirects based on how they were created.
    • Manual redirects: created by a user in the URL redirects tool.
    • System redirects: created automatically when the URL of a published page, blog, or blog post was updated. These cannot be edited.
  • Click the All users dropdown menu to filter redirects based on the user who created them.
  • Use the search bar to look up a specific URL that's been redirected to a new destination, or a URL you've redirected to.
  • In the upper right, click Export to download all your URL redirects in CSV file.
  • In the upper right, click Switch columns to customize the fields that appear in your URL redirects dashboard. 
  • To delete a URL redirect, click the Actions dropdown menu, then select Delete. Or, select the checkboxes next to the redirects that you want to delete, then click Delete in the header row.
  • To edit a URL redirect, click the Actions dropdown menu, then select Edit. Or, select the checkboxes next to the redirects that you want to edit, then click Edit in the header row.

url-redirect-options

Please note: if the redirect isn't working as expected, you may need to clear your browser cache. It may take up to 48 hours for a redirect to propagate.