Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #58379


Ignore:
Timestamp:
05/23/2023 10:21:03 AM (2 years ago)
Author:
costdev
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #58379 – Description

    initial v1  
    11Hi,
    22
    3 I created a custom sitemap for my website and I Want to disable the default wordpress (v6.1.1) sitemap (/wp-sitemap.xml). I added this code to functions.php add_filter( 'wp_sitemaps_enabled', '__return_false' ); but nothing happened. The sitemap still accessible at /wp-sitemap.xml
     3I created a custom sitemap for my website and I Want to disable the default wordpress (v6.1.1) sitemap (/wp-sitemap.xml). I added this code to functions.php `add_filter( 'wp_sitemaps_enabled', '__return_false' );` but nothing happened. The sitemap still accessible at /wp-sitemap.xml