I have a problem with Google search engine bot indexing

Website URL

https://minecraft-mods.pp.ua/

Error Message

Hello!

I have a problem with Google search engine bot indexing. ChatGPT wrote this text after all the tests and told me to send it to you.

We have identified an issue with search engine crawlers accessing the XML Sitemap on the website minecraft-mods.pp.ua.

When requesting:

https://minecraft-mods.pp.ua/sitemap.xml

the server returns HTTP 200 for a standard User-Agent, but instead of XML, it serves an HTML JavaScript Challenge with the following content:

A script /aes.js is loaded;

A __test cookie is set;

A JavaScript redirect is performed;

A message is displayed stating that JavaScript must be enabled.

When requesting with the Googlebot User-Agent, the correct XML is returned with Content-Type: application/xml.

A similar situation is observed with /google_news.xml.

Could you please check which protection system is generating this JavaScript check (Anti-DDoS, Anti-Bot, ModSecurity, or another protection)?

It is necessary to ensure that Googlebot can access the following files without the JavaScript Challenge:

/sitemap.xml

/google_news.xml

/category_pages.xml

/tags_pages.xml

/news_pages.xml

Also, please verify whether the real Googlebot is being blocked when accessing these addresses.

Thank you!

Other Information

Hello!

I have a problem with Google search engine bot indexing. ChatGPT wrote this text after all the tests and told me to send it to you.

We have identified an issue with search engine crawlers accessing the XML Sitemap on the website minecraft-mods.pp.ua.

When requesting:

https://minecraft-mods.pp.ua/sitemap.xml

the server returns HTTP 200 for a standard User-Agent, but instead of XML, it serves an HTML JavaScript Challenge with the following content:

A script /aes.js is loaded;

A __test cookie is set;

A JavaScript redirect is performed;

A message is displayed stating that JavaScript must be enabled.

When requesting with the Googlebot User-Agent, the correct XML is returned with Content-Type: application/xml.

A similar situation is observed with /google_news.xml.

Could you please check which protection system is generating this JavaScript check (Anti-DDoS, Anti-Bot, ModSecurity, or another protection)?

It is necessary to ensure that Googlebot can access the following files without the JavaScript Challenge:

/sitemap.xml

/google_news.xml

/category_pages.xml

/tags_pages.xml

/news_pages.xml

Also, please verify whether the real Googlebot is being blocked when accessing these addresses.

Thank you!

Welcome to the InfinityFree community forum! Good to have you here.

  • Most people answering here are volunteers. They’re often the fastest source of help. Admin (the only staff member) checks in about once a day for issues on our end.
  • Volunteers can’t see your account or website. Share what you actually see, like error messages and what happens when you try something. That’s more useful than your theory of what’s wrong.
  • AI tools often get InfinityFree wrong. If a volunteer’s advice differs from what an AI told you, please try the volunteer’s suggestion first.
  • Solving an issue is a joint effort. Try the suggestions you get and report back what happened.

Here’s a short summary of this post, so people can quickly see what it’s about. Please keep posts short and to the point: describe the problem and include the exact error message and your website address. That helps people help you more quickly.

  • I have a problem with Google search engine bot indexing the XML sitemap on my site https://minecraft-mods.pp.ua/.
  • Requesting https://minecraft-mods.pp.ua/sitemap.xml with a standard User-Agent returns HTTP 200, but serves an HTML JavaScript Challenge instead of XML: it loads /aes.js, sets a __test cookie, performs a JavaScript redirect and says JavaScript must be enabled. With the Googlebot User-Agent, the correct XML is returned with Content-Type: application/xml. The same happens with /google_news.xml.
  • Could you check which protection system generates this JavaScript check (Anti-DDoS, Anti-Bot, ModSecurity, or another), ensure Googlebot can access /sitemap.xml, /google_news.xml, /category_pages.xml, /tags_pages.xml and /news_pages.xml without the challenge, and verify whether the real Googlebot is being blocked when accessing these addresses?

Beep boop, I’m a bot! I dug through the forum to get you started. I sometimes get things wrong though, so do with this what you will until a human has a look.

The JavaScript check you’re seeing is InfinityFree’s browser security system. It runs on every free hosting account, and it can’t be turned off or excluded for specific files such as sitemap.xml. Your own domain doesn’t change that, because the check is part of the hosting.

Your ChatGPT test matches the article’s description of the check. A plain request gets a short HTML page that loads /aes.js, sets a __test cookie and redirects. The article says the Google crawler itself is exempt, which fits your Googlebot-User-Agent request getting the real XML. Real search engine crawlers run JavaScript and accept cookies, so they aren’t expected to have a problem.

The article also says Google Search Console’s live test and similar tools are not exempt. If Search Console is what reported the sitemap as unreadable, that could be why. If the real Googlebot is failing, tell me the exact message Search Console gives for the sitemap and where you see it.

The article covers how the security system works, what it affects and what it doesn’t:

Google crawler will be able to index your site. But the manual crawlers on the search console are blocked.

Once you’ve registered on the search console all you can really do is wait and Google will index your site when they are ready too.

Having done a search for your site it was the first result on Google so I think they have indexed it

I think there’s one important distinction worth making here: changing the User-Agent to Googlebot doesn’t prove that the real Googlebot receives exactly the same response.

A User-Agent is just an HTTP header. Hosting providers can also apply rules based on the requesting IP address, so the result of a local curl test isn’t necessarily identical to a real Google crawl.

Since InfinityFree already has a browser challenge and Googlebot exemption, I’d focus on what Search Console actually reports rather than treating the JavaScript response from a normal request as proof of an indexing problem.

I’d check the sitemap submission status separately from the Page Indexing report. If Google has successfully discovered URLs from the sitemap but hasn’t indexed them, that’s a different issue from being unable to fetch the sitemap at all.

And if the sitemap status does show a fetch error, the exact error message and when it occurred would be more useful for troubleshooting than another User-Agent test.

That should help narrow down whether this is an actual crawler access problem or simply a limitation of the testing method.