Support

Admin Tools

#37163 Admin Tool blocking sitemap?

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
4.1.3
PHP version
n/a
Admin Tools version
7.1.6

Latest post by nicholas on Monday, 23 May 2022 05:06 CDT

alevogel

Hello

I have a problem on several Joomla sites using Admin Tools: Sitemap is not readable by Google. It doesn't matter, if I generate and upload a sitemap manually or with a tool like OS Map: In Google Webmaster Tools I always get the error "sitemap could not be read". Is it possible, that Admin Tool is blocking this? And if so: How could I solve this problem?

Thank you,

Alexandra

nicholas
Akeeba Staff
Manager

Can you please give me the full URL to your sitemap?

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

alevogel

It's this: https://craniotherapeut.ch/component/osmap/?view=xml&id=1&format=xml

nicholas
Akeeba Staff
Manager

The URL works fine from a browser and cURL.

I do see that it's blocked when using WGet because of your User Agents to Block configuration in the .htaccess Maker. Maybe this is the problem (even though I personally never had that with Google — they use a different a user agent as far as I can see on my sites). Anyway, let's give it a shot.

Go to your site's administrator, Components, Admin Tools, .htaccess Maker

Find the “User Agents to Block, one per line” area.

Find the line that reads

WGet

and remove it.

Click on Save & Create .htaccess.

If you still have a problem please try disabling the “Block access from specific user agents” option and Save & Create .htaccess again.

If this still doesn't help your problem is unrelated to Admin Tools. Maybe you are using a third party extension, host feature, CDN or similar to block entire countries? This could very reasonably cause the sitemap to be unreadable by Google's server with an IP address which belongs to a US-based company.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!