Regarding sitemap

#179520
Viewing 8 replies - 1 through 8 (of 8 total)
  • Hello,

    Thank you for contacting the support, and sorry for any inconvenience that might have been caused due to that.

    Can you please head over to your WordPress Dashboard > Rank Math > Sitemap Settings > Post Types and look for kc-section? Make sure this post type is disabled for sitemap generation.

    If you are not able to find it, we might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress & FTP 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.

    Hello,

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

    Thank you.

    Hello,

    Thank you for the follow-up, and sorry for the delay.

    I’ve checked your site, and it seems that the kc-section post type is not included in the sitemap settings.

    However, we wanted to try this filter to remove that from your sitemap. Unfortunately, your FTP logins are not working.

    Could you please try the filter and see if the issue persists?

    I hope that helps. Thank you, and looking forward to your update.

    Hello,

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

    Thank you.

    Hi,

    Thanks for the update, I have filtered the code you have shared but it is also not working, I have shared the new details with you. Can you please check now?

    Hello,

    Thanks for getting back to us.

    I applied the following filter to your theme’s functions.php`:

    
    add_filter( 'rank_math/sitemap/exclude_post_type', function( $value, $type ){
        if ( 'kc-section' === $type ) {
            return true;
        }
        return $value;
    }, 11, 2 );
    

    Now the kc-section post type is no longer included in your sitemap.

    If you require any further assistance don’t hesitate to get in touch.

    Thank you so much for your support.

    Anas
    Rank Math business

    Hello,

    We are super happy that your issue is resolved. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

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

The ticket ‘Regarding sitemap’ is closed to new replies.