• Resolved madnutter

    (@madnutter)


    Not sure what is going on, google webmaster isn’t reporting any issues when crawling the site but my sitemap is blank.

    I have followed a couple of guides to check the site – no issues have been found. All plugins have been disabled and only Yoast SEO running still nothing was showing under the sitemap file as it was blank.

    I’ve deleted the Yoast plugin and reinstalled – and still nothing.

    I’ve also run a check tool as suggested in one of your other guides and that found no issues.

    So I am at a loss at the moment what is wrong if anything?

    Have also modified the htaccess file with the following
    # Yoast SEO – XML Sitemap Rewrite Fix
    RewriteEngine On
    RewriteBase /
    RewriteRule ^sitemap_index.xml$ /index.php?sitemap=1 [L]
    RewriteRule ^locations.kml$ /index.php?sitemap=wpseo_local_kml [L]
    RewriteRule ^geo_sitemap.xml$ /index.php?sitemap=geo [L]
    RewriteRule ^([^/]+?)-sitemap([0-9]+)?.xml$ /index.php?sitemap=$1&sitemap_n=$2 [L]
    RewriteRule ^([a-z]+)?-?sitemap.xsl$ /index.php?yoast-sitemap-xsl=$1 [L]
    # END Yoast SEO – XML Sitemap Rewrite Fix

    any help appreciated?

    Thanks

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi,

    We can see the stylesheet for the sitemap: https://www.goffsgreekschool.com/wp-content/plugins/wordpress-seo/css/main-sitemap.xsl goes to a 403 error. This stylesheet is used to make the sitemap human readable. Google can still see the source code of the sitemap and index content.

    We suggest contacting your host provider and verifying no rules are in place on the server which would prevent the stylesheet from loading.

    its something new? with Yoast 14.5 all working good… without 403/500 in main…

    Plugin Support Michael Ti?a

    (@mikes41720)

    Hi,

    Just to clarify, this issue started occurring in v14.6.1 of Yoast SEO for WordPress but was working in v14.5? If you temporarily remove the .htaccess rewrite rules, does this resolve the issue?

    Since your sitemap is showing as blank and the xsl sitemap stylesheet is showing as a 403 forbidden error, we would recommmend that you contact your host provider for more information — https://yoast.com/help/my-sitemap-is-blank-what-s-wrong/

    Thread Starter madnutter

    (@madnutter)

    ok, thanks for the update – I will look into what’s been suggested and revert.

    @mikes41720

    Hello, just to chime in we are now experiencing this same issue as well with blank sitemaps on multiple websites. We can see them in the source code though just never loads on the front end / shows white. It seems like something deeper is going on. We have already tested with the cache off and confirmed nothing was in the .htaccess as well.

    This plugin version of the main-sitemap.xsl link for our site works as well with no 403 error but shows no links.

    Thread Starter madnutter

    (@madnutter)

    Update – Still not displaying anything.

    Hosting company reset permissions on site but still coming up as white page.

    Thet also comment:
    I’m afraid I can’t see anything from a server perspective causing this, the site source has code in it but it’s showing a white page so this makes me think there must be something else on the site producing this, perhaps a plugin or similar.

    Plugin Support Maybellyne

    (@maybellyne)

    @madnutter,

    Do you have a cache plugin or server-side cache? You may consider flushing the cache. If the issue remains, please disable and re-enable the sitemap feature (steps here) to force a cache reset. Most cache plugins allow you to exclude the sitemap URLs from being cached and/or minified. Please read this article for more information on sitemap cache. For instance, the “Do not process 404 errors for static objects with WordPress” setting may be checked in W3 Total Cache.

    Thanks.

    Plugin Support Jerlyn

    (@jerparx)

    Hi @madnutter ,

    We’re closing this thread because we haven’t heard back from you in a while. Should you have further questions, please open a new thread.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Sitemap XML is blank’ is closed to new replies.