How to upload html file to root directory of shopify

I am not sure if this has been resolved. Otherwise, I thought this might help:

Having tried all the suggestions given and nothing was forthcoming, I reluctantly checked my info details on the Facebook Business page

I realised that my new address has not been updated: I did just that. Checked other info that needs updating; went back to the verification page and redid everything. Boom it worked.

It is worth giving these steps a try. Hopefully, it works for you this time.

Cheers!

mines still dont work I did everything right

I just got verified! After a few hours of trying absolutely everything.

What worked for me is first logging out and then back in to my Shopify store. Then I switched my theme to another random theme I had saved, and then I switched it back to my original theme. I also refreshed the Facebook page and copied the new code.

I really hope this helps for whoever is still having trouble verifying your domain! Sending love!

same here. it asked me to use the debugging code but i keep getting these errors:

"Inferred Property

The ‘og:image’ property should be explicitly provided, even if a value can be inferred from other tags."

"Missing Properties

The following required properties are missing: og:url, og:type, og:title, og:image, og:description, fb:app_id"

Adding this comment in the hope it helps someone else. Verifying with a meta-tag has been doing my head in. Been trying for days - did the whole Facebook Sharing Debugger tool, it was scraping the site and seeing the verification code. But no matter what I did, the green ‘Verify Domain’ button (which you can see on the other options of Upload HTML or Upload DNS TXT record) wouldn’t show up. There was no scroll on the window, so it wasn’t like I just needed to scroll down further on the page to see it. Was tearing my hair out…until…

I thought to myself ‘I wonder what happens if I zoom out in the browser’ so I hit Chrome’s three dots, click the zoom to 90% and bingo, there’s the button. All this time, Facebook’s stupid website wasn’t set up to deal with a window size that wouldn’t show all the page content, and there was no way to scroll to it.

Clicked the (now visible) green ‘Verify Domain’ button and hey presto, did it instantly.

So, before you give up and throw your laptop or tablet out the window, give the browser zoom a try (you might need to zoom out further than I did) - it might just be what you’re looking for!

I wasn’t able to figure out how to upload the html file but if you add the text to your DNS it’s much easier.

In Shopify go to your online store
Domains - Manage - DNS Settings

Scroll to the bottom and find the TXT RECORD
Actions - Edit and change name to [email removed] and then paste the verification code into the TXT Value

This worked within a minute or so for me

THANK YOU for this response!! I literally tried everything except for this, wasted about an hour and a half trying to research why it wasn’t working and it finally worked after doing the DNS TXT. I appreciate you!

For me, DNS Method worked. In just under a minute, domain is verified. Otherwise it was giving error “Domain is registered by another business manager”

Did it say it was unable to verify it but then after a couple of hours it was able to? Or was it just loading for a couple of hours?

this is what finally worked for me lol THANK YOU!

Hello im trying to locate to Upload a ads.txt file to the root directory of my shopify store for google adsense but i dont know where the file is and where to upload the ads.txt file. Can you please help??

THANK YOU!! Literally I had been trying and once I removed my password. Boom it worked. YOU ARE A LIFE SAVER

I have done this exact process over and over today and it’s still not verifying. I’ve even verified that it’s in the HTML of the website, but FB still won’t verify.

I don’t see a “Publish”. It looks like when I his “Save” it’s automatically publishing since it’s already a live site. Is that correct?

this was the only thing that worked. especially important to place the meta tag above in the code

This is for future Shopify store owners with similar problems, I have a quick step-by-step solution. On your business account,

  1. Go to Business settings and go to domains.

  2. Click Add, and create a new domain (type your website link)

  3. To verify, choose verification by Meta Tags for immediate verification

  4. Copy the meta tag provided for you.

  5. Go to your Shopify custom theme page and above, you’ll see 3 dots beside “Live”

  6. Click on it and then select edit code (</> Edit Code)

  7. locate , then just press enter to move one cursor down, then paste the meta tag their

  8. go back to the business setting on your business account then click verify. You’re all set

You are amazing. I did this and you were right!! Thanks

I’m very unlucky.

The file cannot be placed in the root.

My DNS asks me for the name, it doesn’t accept [email removed] I tried various words but the test fails.

I put the tag in theme.liquid. I inserted it in different places. but the problem is that the closing of the tag is removed. Facebook wants " />", Shopify turns it into “>”.

so I have no way to verify the domain.
Facebook support doesn’t know what to do.

DNS is the only one worked for me too

After several hours of trying. This worked for me! I was doing it wrong in the beginning because I was writing the name wrong. The name of the TXT RECORD has to be [email removed] as you said.

Thank you