Archives: Issues

Get a List of issues with fixes on various topics.

Here, you will find a collection of issues related to various programming languages, career, business, and technology. These blog issues help you to have good knowledge in your domain. You can find the latest news on major topics to keep yourself updated with the market.

Tutorials Class provides you a list of tools and resources for your projects and websites. You can also find some free stuff to download.

WordPress Default Sitemap is not working?

WordPress has added XML Sitemaps feature in version 5.5. If you have WordPress 5.5 or later, your website sitemap URL is: https://your-website.com/wp-sitemap.xml

Sometimes default sitemap does not work and throws an error. Here are some of the common fixes for WordPress default sitemap issues:

Fix 1: Update WordPress

Check if you have WordPress 5.5 or later. If you are using old WordPress, you need to update.

Fix 2: Enable Search Engine Settings

Sitemaps will be disabled if search engines are discouraged. Check in Dashboard > Settings > Reading

Fix 3: Update Permalink

Make sure that pretty permalinks are enabled. All settings should work except Plain/Default.

Fix 4: Disable/Enable if any plugin setting

Check if Yoast or any plugin disables default sitemap. Also once try to disable sitemap if any plugin is generating it.

Fix 5: Remove Filter code

This code is used to disable sitemap completely. Remove this if you find this in your theme.

add_filter( 'wp_sitemaps_enabled', '__return_false' );

Additionally, you can try returning true in above as well but that is not required so may not help much.

Fix 6: Switch theme or Disable plugins.

There are chances that your theme or any plugin still have some issue or conflict. You can switch theme and disable the plugin to identify the problematic item. There you can act accordingly.

Important Links:

Hope you will be able to Fix your sitemap URL in