COS-General

How are file manager URLs structured?

Last updated: April 20, 2018

Available For:

Marketing: Basic, Pro, Enterprise
Sales: N/A
Service: N/A

All new files uploaded to file manager can either be accessed via a generic Content Delivery Network URL or a custom connected domain URL.

Example 1: HubSpot's default file hosting domain includes the generic CDN URL and the Hub ID in the file path. This is an example of what a file hosted on the default domain would look like in Hub 158015

http://cdn2.hubspot.net/hubfs/158015/my-image.jpg

Example 2: If you've connected a domain in HubSpot, you can select this domain as the default file hosting domain for your file manager in your settings. This is what a file URL would look like if the file was hosted on a connected domain of knowledge.hubspot.com:

http://knowledge.hubspot.com/hubfs/my-image.jpg

Example 3:  When you upload a file to a folder, the asset will be hosted in a relative directory. For example, if you uploaded my-image.jpg to a folder entitled "photos", the file would be hosted within that subdirectory:

http://knowledge.hubspot.com/hubfs/photos/my-image.jpg

Please note: older files are hosted on an older URL structure that does not support relative URL paths. Uploading the file as a new file will host the asset on the URL structure described above.

Was this article helpful?