Editing sitemaps

#133350
Viewing 12 replies - 1 through 12 (of 12 total)
  • Hello,

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

    Do you mean to redesign how the sitemap page would look? Rank math can only create an XML sitemap for your site and we normally don’t offer custom design options.

    We are looking forward to helping you.

    No I meant to edit the sitemap to not show specific URLs.

    Rankmath is showing a theme file which I don’t want to appear.

    Hello,

    You have a custom post type that should not be indexed but it was still indexed and added to the sitemap. To remove that, please use this filter code in your theme’s function.php:

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

    Let me know how it goes. We are looking forward to helping you.

    Hi Team Rankmath.

    Thanks for your response.
    This didn’t work (I did clear the cache).

    Also in the theme editor, there was no “function.php” file – there was a “functions.php” (plural not singular) which I assumed was what you wanted me to edit.
    See here: https://pasteboard.co/JLtfkR8.png

    If it helps, I am using avada theme and litespeed cache.

    Hello,

    Thank you for keeping in touch with us.

    I apologize for the mistype, the code should go into the functions.php.

    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.

    Okay, I’m creating this using Bhanu’s email ID as the Temp URL login plugin needs an email address.

    Hello,

    The suggested theme template sitemap no longer seems to be there in your sitemaps, or even exists(leads to 404). Please check the screencast I added in the sensitive section.

    Would you please check your sitemap in a private/incognito browser and let us know?

    Looking forward to helping you.

    You’re correct. Probably your recommended script worked and I was seeing a cached version. Thank you and well done!

    Hello,

    I am happy it helped you. Do you have any other questions or do you want me to mark it as solved?

    Thank you.

    Please mark as solved. Thanks

    Hello,

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

    If you don’t mind us 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 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 12 replies - 1 through 12 (of 12 total)

The ticket ‘Editing sitemaps’ is closed to new replies.