CMS Development

ZWalters
Participant

Redirecting a file URL

SOLVE

I have an uploaded pdf file that i'd like to redirect to a different website. However, I've been told that this isn't possible to do in Hubspot. Do I have any other options to redirect the url? Any third-party services or something similar?

0 Upvotes
1 Accepted solution
kmaltman
Solution
Participant

Redirecting a file URL

SOLVE

@ZWalters did you find a solution? I'm looking to do the same

View solution in original post

0 Upvotes
5 Replies 5
kmaltman
Solution
Participant

Redirecting a file URL

SOLVE

@ZWalters did you find a solution? I'm looking to do the same

0 Upvotes
ZWalters
Participant

Redirecting a file URL

SOLVE

Not that I ever found, sorry! I kinda just learned my lesson and starting using a different url service that I have more control over. 

0 Upvotes
kmaltman
Participant

Redirecting a file URL

SOLVE

Thanks! Lesson learned indeed 

0 Upvotes
Anton
Recognized Expert | Diamond Partner
Recognized Expert | Diamond Partner

Redirecting a file URL

SOLVE

Hi @ZWalters

do you mean that you'd like to have a different URL to the file?

so instead of  

 

https://HUBID.fs1.hubspotusercontent-na1.net/hubfs/HUBID/PDF-NAME.pdf

 

something like

 

https://YOURDOMAIN.com/PDF-NAME.pdf

 

?


It is possible to achieve this by multiple ways

  1. In the file Manager
    open the file in the File Manager and select one of the connected domains for the file in the "File URL by domain"
    Anton_0-1675766290832.png
  2. Set the default URL of all Files uploaded from the generated HubSpot URL to your own one(will mostly like for future uploads)
    You'll find this setting here:
    settings(cog icon;top right corner) -> Website -> Pages -> SEO&Crawlers -> Default File Manager Hosting Domain
  3. create a redirect in the settings
    You'll find all of your redirects here:
    settings(cog icon; top right corner) -> website -> Domains&URLs -> Redirects

 

 

best, 

Anton

Anton Bujanowski Signature
0 Upvotes
ZWalters
Participant

Redirecting a file URL

SOLVE

Thanks for your reply. I'm actually trying to redirect to a different website/url I don't own. So a redirect would be the best solution, however Hubspot does not allow redirects for file uploads. So I'm looking for a different solution.