Hide rank math

#348828
Viewing 7 replies - 1 through 7 (of 7 total)
  • Hello,

    Thank you for contacting the support and bringing your concern to our attention.

    You can remove the plugin notice from the page source by adding the following code to your theme’s functions.php file:

    /**
     * Filter to remove the plugin credit notice added to the source.
     *
     */
    add_filter( 'rank_math/frontend/remove_credit_notice', '__return_true' );

    Here’s a filter code to remove Rank Math notice in the sitemap page as well:

    /**
     * Filter to remove sitemap credit.
     *
     * @param boolean Defaults to false.
     */
    add_filter( 'rank_math/sitemap/remove_credit', '__return_true');

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.​​​​​

    CF
    Rank Math free

    Thank you so much! One more question, will it be found in a plug-in detector?

    Hello,

    Unfortunately, Rank Math doesn’t have a feature to hide your plugins/theme. You would need a separate plugin for that.

    You can make use of this plugin: https://wordpress.org/plugins/hide-my-wp/

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    CF
    Rank Math free

    Thank you!

    Hello,

    We are super happy that we could address your concern. 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.

    Anonymous
    Rank Math free

    How do I hide the XML sitemap is generated by Rank math … in the sitemap?
    The filter above doesn’t seem to do that.

    Hello @david-1617,

    Thank you for reaching out to us.

    This filter should remove the sitemap credits:

    add_filter('rank_math/sitemap/remove_credit', '__return_true');

    To properly apply the filter, you can follow any of the mentioned processes in this guide to add the code: https://rankmath.com/kb/wordpress-hooks-actions-filters/

    If you do not have access to functions.php, please try using the Code Snippets plugin (step 1 in the above guide) and see if that helps.

    If that still isn’t working on your end. Kindly flush the sitemap cache by following this video guide: https://i.rankmath.com/pipRDp

    Let us know how that goes. Looking forward to helping you.

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

You must be logged in to reply to this ticket.