Support

Admin Tools for WordPress

#33315 Issue Admin tools preventing the sitemap.xml to load (loading blank page)

Posted in ‘Admin Tools for WordPress’
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

WordPress version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by on Friday, 07 August 2020 17:17 CDT

geeksonthebeach

Hi there,

 

We are using Admin tools for Wordpress on our sites. We have an issue. Admin tools is preventing SEO plugins to show a working sitemap. I have tried Yoast SEO and SEO Press and come to the same result: Blank page sitemaps.xml.

Is there a setting or permission in the "Admin tools" that I have to change  in order to have the sitemap showing? 

 

Thank you

Celia

nicholas
Akeeba Staff
Manager

It is not preventing the sitemap from working. The sitemap.xml is loaded just fine. It's not even a real file, it's a route in WordPress which always works. What's blocked is the XSL file which is used when accessing the sitemap.xml over a browser to convert it to human-readable HTML.

Go to Admin Tools, .htaccess Maker. In the “Files which will always be made accessible” area add

wp-content/plugins/wordpress-seo/css/main-sitemap.xsl

and click on the Save and Create .htaccess button at the bottom.

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!

geeksonthebeach

Hi Nicholas, 

Thanks for your answer. 

I believe this path is for a different SEO WordPress plugin. I tried but it does not work. 

In most of our websites, we are using : 

- Yoast SEO 
- SEO Press PRo https://www.seopress.org/

Could you please provide the files to exclude for those 2 plugins or directions on how to know which files?

Thank you,

Celia

nicholas
Akeeba Staff
Manager

The solution I gave you is for Yoast. Please do remember that Google and every other search engine have no problem reading your sitemap even without this change. The only thing this change does is that it allows your browser to display the sitemap. If you still have a problem with search engines picking up your sitemap the problem lies elsewhere. I can tell you with certainty since my blog was using WordPress with Yoast between 2016 and early 2020. I was of course using its sitemap feature – who wouldn't?

I've never used SEO Press Pro. If you can attach its installation ZIP file to your next reply I can take a look at it and tell you what is required to make it work – if anything is required at all.

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!

lucidfox

Hi there,

We had another client write in and suggest the following solution for this plugin:

I have resolved this conflict by allowing both the files:

RewriteRule ^sitemap_index\.xml$ - [L]
RewriteRule ^wp\-content\/plugins\/wordpress\-seo\/css\/main\-sitemap\.xsl$ - [L]

 Give that a try and see if it works. Please note we have not tested this code ourselves, but at a glance it should be okay.


 
 

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.