Sitemap Not Updating Automatically in Rank Math
-
I am experiencing an issue where my sitemap does not update automatically unless I manually save the Rank Math settings again.
To troubleshoot, I have added the following filters to rank-math.php:
/**
- Filter code to remove noopener rel from external links.
*/
add_filter( ‘rank_math/noopener’, ‘__return_false’);
/**
- Filter if XML sitemap transient cache is enabled.
* - @param boolean $unsigned Enable cache or not, defaults to true
*/
add_filter( ‘rank_math/sitemap/enable_caching’, ‘__return_false’);
Despite this, the sitemap only updates when I manually resave the settings. Is there a way to ensure that the sitemap updates automatically without requiring manual intervention?
The page I need help with: [log in to see the link]
- Filter code to remove noopener rel from external links.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.