Error accessing page-sitemap.xml (so not working)

[ad_1]

Hello @tabasko

Thanks for reaching out about your page sitemap. An empty whitespace or a blank line appears due to a conflict with another plugin or your theme. Usually, there is an empty space or a blank line before or after the closing PHP opening or closing tag, which shouldn’t be there.

You can narrow down the exact source of conflict by performing a conflict check. Once you have identified whether your theme or a plugin causes the issue, please contact the developers of that theme or plugin for assistance in finding and removing the white space.

I’m done. In Troubleshooting Mode with all plugin active and a WP default theme I have no issue, so I assume I have to search around my theme and child theme. Correct ?

If everything is fine when you switch to a default WordPress theme, the issue lies with your theme. Then you can speak to your theme developer about your observation.

Fixed ! it was in my child functions.php file 🙂

Glad to hear it’s resolved now!

I have no doubt on the way I just fixed the issue.
My line 2 was an empty line, after removing it : it works.

What’s bothering me is that when I check my other sites using wordpress, I have space for all of them (which is normal since I’m starting from a personal archive). And for the other sites, this space doesn’t bother loading the page-sitemap.xml at all.

There’s some nonsense I’m missing here

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer