7 Steps to Create a Hubspot Flexible URL Redirect with Screenshots

CR Rollyson
3 min readJun 3, 2021

With a flexible URL redirect in HubSpot, you can set 1 URL with a wildcard match to redirect in various ways.

For example, you can redirect an entire blog without needing to create URL mappings for each blog post.

Flexible pattern matching can get complex, but imagine this simple case:

  1. Over the years, you’ve shared a lot of blog articles from “oldblog.yoursite.com” and have referring links floating all around the internet (let’s pretend you haven’t been keeping track…)
  2. You’ve decided to create a new blog, have exported all your existing blog posts, imported to the new blog location, and the URL is different — from “oldblog.yoursite.com” to “newblog.yoursite.com”. — only the beginning URL has changed in this example.
  3. Instead of tracking down all of the places you’ve shared permalinks, you set up a flexible pattern URL redirect to magically map from the old blog URL to the new blog URL (without needing to update links across the internet).
  4. Anyone that clicks an existing referral link like “oldblog.yoursite.com/posts/example-title” will automatically get redirected to the same article (you imported all your blog content) under the new URL “newblog.mysite.com/posts/example-title”. Same content, you just migrated it.
Example of Hubspot flexible pattern URL redirects | Screenshot
Example of Hubspot flexible pattern URL redirects | Screenshot

Follow these 7 Steps to set up a flexible URL redirect for a Hubspot site with subpages:

  1. Navigate to your Hubspot instance (or update this link with your-account-id: https://app.hubspot.com/settings/your-account-id/domains/url-redirects)
  2. select the “Add URL redirect” button (at the time of writing, this is located on the right hand side, above the active redirects table, in orange)
  3. in the UI Modal Panel, select the “Flexible” radio option
  4. in the UI Modal Panel “Original URL *” form field, add your URL
  5. append/*{wildcard_string}” to your URL (do not include the quotes. do include the beginning forward slash, otherwise it will not work)
  6. in the UI Modal Panel “Redirect to” form field, add your redirect to URL
  7. once the required form fields are filled out and there are no input errors, select the “ Add URL redirect” button to active the URL redirect (note the redirect can take some time to activate)
Step 2 in the Hubspot GUI as of June 2021 | Screenshot
Steps 3–7 in the Hubspot GUI as of June 2021 | Screenshot

For more detailed info on Hubspot’s flexible pattern URL redirect, check out the documentation here.

If you found this helpful, like > follow > share > comment.

CR Rollyson is a Digital User Experience & Web Manager for a S&P 500 Fintech company and is the COO of Side Role, a marketing team in Charlotte North Carolina partnering with In-house Teams & Agencies, Non-profits, and Start-Ups. Learn more about Side Role here.



CR Rollyson

UX & Web mgr for a S&P 500 Fintech & COO of Side Role, a marketing team partnering w In-house Teams & Agencies, Non-profits, & Start-Ups. https://siderole.com