# Issues Hosting .txt File

**URL:** <https://community.hubspot.com/t/issues-hosting-txt-file/129999>\
**Category:** CMS Development\
**Tags:** professional\
**Created:** [April 16, 2025, 7:50am UTC](https://community.hubspot.com/t/issues-hosting-txt-file/129999 "2025-04-16T07:50:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Owen-Rechkemmer](https://avatars.discourse-cdn.com/v4/letter/o/b77776/32.png) [@Owen-Rechkemmer](https://community.hubspot.com/u/Owen-Rechkemmer)\
**Post date:** [April 16, 2025, 7:50am UTC](https://community.hubspot.com/t/issues-hosting-txt-file/129999/1 "2025-04-16T07:50:59Z")

</div>

Context: I’m trying to set up IndexNow API through Ahrefs. To do so, I need to “host a proper UTF-8 text key file at the root of your website”.

If the API key was “hmmqv”, the URL should be “[http://snicsolutions.com/hmmqv.txt](http://snicsolutions.com/%7BAPIkey%7D.txt)”

The issue is when I upload the .txt file, HubSpot has the URL as “[https://snicsolutions.com/hubfs/hmmqv.txt](https://snicsolutions.com/hubfs/hmmqv.txt)”.

How can I host the .txt file without the “hubfs”?

---

<div class="post-metadata">

**Author:** ![Josh](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/josh/32/17115_2.png) [@Josh](https://community.hubspot.com/u/Josh)\
**Post date:** [April 16, 2025, 12:13pm UTC](https://community.hubspot.com/t/issues-hosting-txt-file/129999/2 "2025-04-16T12:13:49Z")

</div>

Hi @Owen-Rechkemmer,

I believe you’ll have to use a redirect. This post is older, but I believe it is still accurate: [https://community.hubspot.com/t5/CMS-Development/Inserting-ads-txt-file-for-Google-AdSense/m-p/363679](https://community.hubspot.com/t5/CMS-Development/Inserting-ads-txt-file-for-Google-AdSense/m-p/363679)

Be sure to set your redirect style as proxy or it won’t work as you need it to.

Josh
