Remove "hubfs" from the file URL naming system

For folks that are migrating from another web hosting company to hubspot, we wanted a way to omit the “hubfs” from the file name.

For example, currently after you upload an image into a folder, you get the following file URL: [https://yoursite.com/

hubfs

/yourfilename.png](yoursite.com)

We would like it to actually be “yoursite.com”.

This way, we can simply upload our files from our current hosting company into hubspot and not have to modify any of our current links.

In addition, people who are ocd like me can have a more clean and easier way to find files.

Thanks!

We found this post because we are having the same issue. Some URLs are in legal documents and need to be as short as possible. The hubfs is frustrating.
Would love to see that fixed.

same issue, is there any ETA on that?

We are having the exact same problem. All our email headers, logo, reports for clients were hosted on Wordpress and now that we migrated to Hubspot all the links are broken!

We need the ability to replicate the exact same path for our URLs to work!

Can someone please help us?

Very much appreciated

same same same same, rediculous structure and has cost time and money.

Adding my vote to allow Client the ability to rename the ‘hubfs’ directory to something of the Client’s choosing.

This is a real problem switching our website to HubSpot CMS. I have a bunch of files at the root or in specific folders and I am going to have to 301 old URLs to link to the same files. This is a real pain.

I also need a way to remove the hubfs from the directory path.

I tried getting around this with redirects, but for some reason that isn’t working.

This is a big pain and I need to now update (potentially) 200+ files.

Bumping post!

I absolutely need this feature. I see that this has been an idea for over two years. It doesn’t seem like a big ask. I’m not sure how I’m going to explain to my boss that this isn’t possible.

@AAM - we ended up hosting a web server as HubSpot works with a subdomain www.domain.com you are still free to use domain.com and configure some rules around routing traffic. I do believe it is a feature worth having and does not feel like a big ask. But there are work arounds. I wish you luck.

Bump.
We just migrated from wordpress to hubspot and all the signatures of our employees need to be upgraded to the hubfs image, unless this issue would be fixed.

Same here,

My client have issue with CORS issue with my domain and he says that “/hubfs/” is the issue that its not passing the CORS policy. is there any solution to solved it with or without removing /hubfs/" form files.

We have the same issue. Any suggested work-arounds here?

Es muss eine Option geben diesen Teil der Domain rausnehmen zu können.

Yeah this creates issues at certain times. e.g. I’m trying to verify my domain for Google search console by file upload method and I cant use this method cause Hubspot is adding “hubfs” in the url structure.
Any solution to this would be appreciated.

For anyone looking for an interim solution, you can use URL redirects. This still requires a manual process, but it will save you having to manually update your old links.

  1. Navigate to Settings > Content > Domains & URLs > URL Redirects
  2. Click ‘Add URL redirect’
  3. Configure your redirect using the settings shown in the screenshot, I recommend using the “Proxy” redirect style to keep the appearance of the cleaner URL when viewing the file in a browser
  4. Done!

If you have a lot to migrate, there’s also a bulk import function. If you click the ‘Import’ button, HubSpot also provides an import template and you can just enter the same settings that you would in the steps above, but using your CSV file columns.

But I would also love a feature update to support this without a redirect workaround.