Change the URL of your content
Last updated: May 23, 2024
Available with any of the following subscriptions, except where noted:
All products and plans |
You can edit the URL of any published page, blog post, or knowledge base article. Once the content is published or updated, this will automatically create a redirect from the old URL to the new URL.
Please note: changing the URL of a page, post, or article will reset its view data in your analytics and affect the page’s search rankings. Learn more about how URL changes can impact SEO.
Edit a page's URL
In the content editor, you can separately customize a page's domain and URL slug. You can also edit that page's canonical URL in its advanced settings.
Please note: if the URL you're trying to set is already in use by other content, you'll need to change that content's URL before making your edits.
-
Navigate to your content:
- Website Pages: In your HubSpot account, navigate to Content > Website Pages.
- Landing Pages: In your HubSpot account, navigate to Content > Landing Pages.
- Click the name of your page.
- In the content editor, click the Settings menu and select General.
- If the page has already been published, click the edit edit icon next to Page URL.
- To change the domain of your page, click the Domain dropdown menu and select a domain. Only primary and secondary domains set up for publishing this type of page will be listed. Learn more about connecting a domain and the subscription limits for domains.
- To change the rest of the URL, enter a new URL string in the Content slug field.
- To take your changes live, click Publish or Update in the top right.
Edit a blog post's URL
In the content editor, you can customize a blog post's URL slug or move the post to a different blog. You can change the domain and root URL of a specific blog in your blog settings. Learn more about connecting a domain and the subscription limits for domains.
Please note: if the URL you're trying to set is already in use by other content, you'll need to change that content's URL before making your edits.
- In your HubSpot account, navigate to Content > Blog.
- Click the name of your post.
- In the content editor, click the Settings menu and select General.
- To change which blog the post is hosted on, click the Blog dropdown menu and select a new blog. The post's URL will update automatically to include the URL of the new blog. The live post's URL will not change until the post is updated.
- If the post has already been published, click the edit edit icon under Post URL.
- In the Content slug field, enter a new URL string.
- To take your changes live, click Publish or Update in the top right.
Edit a knowledge base article's URL
In the article editor, you can customize a knowledge base article's URL slug. You can also navigate to your knowledge base settings to change your knowledge base's root URL. Learn more about connecting a domain and the subscription limits for domains.
Please note: if the URL you're trying to set is already in use by other content, you'll need to change that content's URL before making your edits.
- In your HubSpot account, navigate to Content > Knowledge Base.
- Click the Articles tab.
- Hover over the article you want to update and click Edit.
- In the article editor, click the Settings tab.
- To change the root URL of your whole knowledge base, click Edit the root URL in settings. In your knowledge base settings, click Edit root URL in the Domain section. In the dialog box, click Yes, save it.
- To change the article's URL, enter a new URL slug in the Article URL field.
- Click Update or Publish in the top right to take your article live.
Bulk update domains in page URLs
On the content homepage, you can bulk update the domain where multiple pages are hosted:
-
Navigate to your content:
- Website Pages: In your HubSpot account, navigate to Content > Website Pages.
- Landing Pages: In your HubSpot account, navigate to Content > Landing Pages.
- Select the checkbox next to each page you want to update.
- At the top of the table, click the More dropdown menu and select Update domain.
- In the dialog box, click the dropdown menu and select a domain, then click Update.
The URLs previously used for these pages will be automatically redirected to the URLs using the new domain.