A major innovation of WordPress 5.5 is the integrated XML sitemap. Any additional sitemap plug-ins are therefore no longer needed. But what if you want to continue to use your previously used Sitemap Plugin? After all, the integrated Sitemap function of WordPress is not very feature-rich.
The XML Sitemap of WordPress can be easily deactivated. To do so, you only have to integrate the following code in the functions.php of the currently used theme or child theme.
add_filter( 'wp_sitemaps_enabled', '__return_false' );
For beginners: What is a XML Sitemap?
A sitemap in XML format usually contains all contents or content types of a website. This can not only be pages, but also articles, videos or products. The sitemap helps the Google Crawler to "browse" and index the website. Especially complex websites with a lot of content and complex structures may not be indexed as desired. Therefore Google recommends the use of a sitemap from at least 10,000 pages.
Top comments (0)