Support » Fixing WordPress » no wp-sitemap.xml available

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi, derlangefrank, do you know whether you have SimpleXML PHP extension enabled?
    According to https://make.wordpress.org/core/2020/07/22/new-xml-sitemaps-functionality-in-wordpress-5-5/ you need this extension installed.

    Rendering sitemaps on the frontend requires the SimpleXML PHP extension. If this extension is not available, an error message will be displayed instead of the sitemap. The HTTP status code 501 (“Not implemented”) will be sent accordingly.

    1. See ‘Dashboard » Settings » Reading » Search engine visibility’ if ‘Discourage search engines from indexing this site’ isn’t checked. If the site doesn’t need to be indexed, it doesn’t need a sitemap.
    2. If you have dynamic ‘/robots.txt’ (no physical file on the root directory of your site) see if the link to the map exists. If it’s there try to rebuild permalinks:
      ‘Dashboard » Settings » Permalinks’ by pushing ‘Save Changes’ (there is no need to make any changes).
    3. See if some other plugin you are using has a sitemap, JetPack, for example.
    4. Just in case see ‘Dashboard » Tools » SiteHealth’ if there some issues.
    5. Also in case: you can switch on debug.log file to get more information, see:

    Debugging in WordPress

    Thread Starter Der lange Frank

    (@derlangefrank)

    Many thanks for your comments. It was my fault.
    “Search engine visibility” was checked.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘no wp-sitemap.xml available’ is closed to new replies.