SOLVED: Upload a file to root directory

Hi, I am required to verify my ownership of my domain by uploading a single file to the root directory of the website. Is this at all possible?

Thanks
James

1 Like

Hello James,

Unfortunately you cannot add files to your root directory with Wix.

May I ask what service you need to do this for?

Thanks,
Majd

No that is not possible, you will need to use another verification method. Contact support@wix.com as this is not a Wix Code question.

also need to do this with an ads.txt file

You can add TXT record with text value in
Wix Dashboard > Settings > Domains > DNS Advanced > Add TXT Record

Bro, pleased help walk me through the process of adding an ads.txt file, I don’t know how to create one and how to insert in root of the domain as required my google. I appreciate your help in Advance!

I would also like this. Many mobile advertises now require an ads.txt file at the root of the web domain of your support website listed on app stores to combat fraud. They will not serve ads to your app if this file is not present.

I have the same trumble…I think I will go from wix to wordpress, its more simple and they have everything integrated for google ads

I’m trying to do this too! I’d like to sell through instagram and fb but need to upload a file to my website’s root folder so am a bit stuck if I can’t do this with wix

Hi everyone,
Some users have found success following the methods provided here: https://www.wix.com/corvid/forum/community-discussion/adding-ads-txt-file .
We also have a troubleshooting article on this topic here: [Troubleshooting Your Ads.txt File for Google AdSense | Help Center | Wix.com](Troubleshooting Your Ads.txt File for Google AdSense | Help Center | Wix.com
God)

This thread is quite old, so I’m now closing it. If you need any additional support with ads.txt, please contact Wix Customer Care (unless you’re using Corvid to implement it, then create a new post). Good luck!