[New Feature] Uploading files to the root directory

Hello,

This feature has been asked for a few times in different contexts. We added a way to upload a file and serve it as

yourdomain.com/filename

This can be useful to prove your ownership of your domain for some services (mobile notifications, etc.). You can also use this feature to generate your own sitemap.xml file. If you want to use this that way, you should uncheck the box that generates the sitemap automatically and upload an xml file.

You can upload the files in the Settings Tab, SEO & Metatags section. Note that this feature, as other SEO tools, is accessible on apps on a Personal plan and above.

30 Likes

Thank You!!!

2 Likes

Hooray!!!

Great thank you

Thaaanks !!! You made my day :slight_smile:

Thanks Bubble geniuses!

What other possible ways do you see this being used?

1 Like

Good question!

@emmanuel could we have some sort of manual on in what ways this may be used? It seems that such feature makes off-line app possible (maybe a silly question, apologies in advance).

Thank you!

1 Like

Is there a way to add the file to a subfolder like /folder/test001.txt ?

It let me enter: /folder/test001.txt as file name but

ā€¦com/version-test/folder/test001.txt returns a 404 error.

file isOK at //s3.amazonaws.com/appforest_uf/.../Test%20001.txt

Thanks in advanceā€¦

This isnā€™t currently supported.

Thanks for the prompt answer.

Can we upload an HTML file here, referencing external JS and CSS (e.g. )

Would the html page be able to link to this external file?

I tested, but it does not seem to work. I see plain text without the css styles.

1 Like

Hi,

My problem is that the api address is different (https://mydomain.bubbleapps.io/version-test/api/1.1/wf/bcn/) from the root directory upload (https://mydomain.xzy/filename).

The verification file is asking to be placed at the api address above. I guess then there is no work around for this case.

Can you please enable a workflow --> upload file to root directory so that we upload files using workflows (instead of through the admin panel).

This allows many possibilities.

Thanks,

2 Likes

Hello,

We just pushed an improvement to this feature that lets you have a file name that contains a path. This will give you more flexibility if you need to host some files in some ā€œfoldersā€. For instance, if you want to use Apple Pay, you could something like

19 Likes

Thanks @emmanuel for enabling this feature making it possible to accept Apple Pay on bubble sites.

2 Likes

When it says ā€˜version-specificā€™ , I guess this means I must add the File name and re-upload the file again whenever I upgrade the Bubble version?

No, that means you should deploy to live for the URL not to have ā€˜version-testā€™ in it.

1 Like

Hey guys - still need this.

  1. Any chance you will push it?

  2. Is there API access to the root folder?

Thanks,
P

  1. We donā€™t have a timeline on this, but Iā€™ll put this on the backlog.
  2. Not currently, no (we donā€™t have an API access to modify the app object.
2 Likes

Any update on workflow or api access to root directory?

7 Likes