Custom Layout sitemap active

#72650
  • Resolved Borogz
    Rank Math free

    Hi, I am having an issue with Custom Layout sitemap generating a sitemap despite being turned off in settings.

    Occurring on 2 sites with the Astra WP theme. NGINX code has been added to configuration file.

    Any help to get these removed from sitemap greatly appreciated.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello,

    Thanks for getting in touch with us.

    Please confirm that you disabled it from WordPress Dashboard > Rank Math > Sitemap Settings?

    If that doesn’t work, we might need to take a closer look at the settings. Please include your WP logins in the designated Sensitive Data section.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:
    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):
    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    Borogz
    Rank Math free

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hello,

    Thank you for providing the details. The problem why the Sitemap option is not working on your site is because the value for the disable sitemap stored in your site’s Database is 0 whereas Rank Math’s checks for false when adding the post type sitemap.

    I have logged it as an issue and we will fix it by adding a condition to check for the boolean value in the upcoming update.

    For now, to fix the issue on your site, I’ve added following filter code in your theme’s functions.php file:

    
    add_filter( 'rank_math/sitemap/exclude_post_type', function( $value, $type ) {
    	if ( 'astra-advanced-hook' === $type ) {
    		return true;
    	}
    	
    	return $value;
    }, 10, 2 );
    

    I hope that helps. Please let us know if there is anything else.

    Thank you.

    Borogz
    Rank Math free

    Hello,

    I have updated the sensitive data.

    Another site has the same issiue, Can you please put in the same fix?

    Thank you.

    • This reply was modified 3 years, 8 months ago by Borogz.

    Hello,

    The email you provided is not working for me.

    You can also edit the file from your end, just head over to Appearance > Theme editor > Funtions.php and add the code above at the end of the file.

    Hope that helps. If you have any further question(s), please let us know. Thank you.

    Hello,

    Hope you are doing well.

    We released a quick Beta update you can try to see if that helps.

    Please enable the Beta update by following this:
    https://rankmath.com/kb/version-control/#beta-updates
    https://rankmath.com/wp-content/uploads/2020/02/Rank-Math-Beta-Testing.jpg

    If you are unable to see an update, please clear Rank Math’s transients from:
    WP Dashboard >> Rank Math >> Status & Tools >> Database Tools >> Remove Rank Math Transients >> Remove transients
    https://i.rankmath.com/Pbu5J6

    Please clear the caches from the server and WordPress after updating.

    You can disable the Beta updates once you update to the latest version and the issue is fixed.

    Hope that helps and appreciate your patience. Thank you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)

The ticket ‘Custom Layout sitemap active’ is closed to new replies.