Why CF modified my google-site-verification html file?

Hi CF team,
I was confused why google keeps saying ‘can’t verify your site’ with my html file. So I spend several minutes to dig the reason of this issue today.

The original file was like this:
google-site-verification: googlexxxxxxxxxxxxxxxxxxxxxx.html

but when I visit this page manually, my web browser says the page’ content is:

<meta http-equiv="content-type" content="text/html; charset=windows-1252"></head><body>google-site-verification: googlexxxxxxxxxxxxxxxxxxxxxx.html</body></html>

my question is why CF modified this html file?

I’m sorry, but I don’t what’s been modified. Are you talking about the HTML tags? It wouldn’t surprise me if those came from your web host.

Will Google let you verify with a DNS record instead? Those are much easier to manage.


Thanks for the quick reply. :grinning:
Yes I can verify my site with a DNS record. But I’m curious about those HTML tags. Google tells me to leave the file in my site’s ‘/’ path as it is. Where are those HTML tags come from then?

1 Like

As I said, probably from the server. You can test this from the command line:

curl https://example.com/googlexxxxxxxxxxxxxxxxxxxxxx.html --connect-to ::

Replace the 123 part with the actual IP address of your server.

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.