How to add an app-ads.txt file?

How would one implement a app-ads.txt with the site builder.

I need to create a page that is a .txt file.

The URL needs to be www.yourdomain.com/app-ads.txt

Is this possible?

Edit ---------------------------------

I found the information on robots.txt. I assume the process is the same for app-ads.txt.

However, I often have to update this file. I don’t see a way to replace an existing file with a new one?

I also saw someone run into caching issues with his robots.txt after having to upload an new file and then change the redirect.

Surely we need a better process for just having a txt file in the root folder? This is a common need.

1 Like

@Chris_Suffern you could try to:

  1. add the file to the file manager
  2. open the file in the file manager
  3. copy the file URL
  4. create a new subpage
  5. add an iFrame element to the page
  6. put the copied URL to the iFrame

Not 100% sure if it works

Thanks for the suggestion.

I don’t think will work as you can’t put a period “.” in the URL slug field.

And even if it did work, it would just be another convoluted work around for a simple and common need.

I will do a feature request to allow for adding a .txt file to root folder.

Hey mate,

I suppose that is not yet possible. I have also seen your feature request about this and added this to the SEO feature request we are working on. That could be a very nice addition!

1 Like