Remove Custom Post from Sitemap & Index / Noindex BUG

  • Resolved Ranuka

    Please check the Sensitive Data area to find a direct link to the sitemap.

    I have removed Elementor library custom post type from setting as the following image, but it still shows in the sitemap.

    • This topic was modified 3 months ago by  Ranuka.
Viewing 9 replies - 1 through 9 (of 9 total)
  • Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    Could you please do the following:

    1. Head over to WordPress Dashboard > Settings > Permalinks

    Hit the save button once.

    2. Go to WordPress Dashboard > Rank Math > Sitemap Settings

    Hit the save button once.

    That should fix the issue.

    If it doesn’t, please do let us know so we can look at this further.

    I did it, there is no change.

    And I saw that my author pages have “ïndex” tag even I set Author Robots Meta as noindex. I need to make all my author pages as noindex as soon as possible.

    I am really disappointed to see this type of bugs which affect SEO directly.

    • This reply was modified 3 months ago by  Ranuka.
    • This reply was modified 3 months ago by  Ranuka.

    Hellom

    Apologies for any inconvenience caused.

    We might need to take a closer look at the settings. Please edit the first post on this ticket and 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:

    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):

    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.

    Hi Ranuka,

    Thanks for the access.

    I have updated the plugin to the latest version and this has resolved the issue.

    I hope this info helps. Thank you.

    Thanks. Sitemap problem is sorted. Thanks again.

    But other bug is still there.

    I still don’t see the noindex tag. When I check the source code of author pages I can see <meta name="robots" content="follow,index"/> Author page should be noindex. When I do more testing, I found that that behaviour same for category pages as well. Could you again log and see what is the problem? (I already set Author Robots Meta as noindex. )

    • This reply was modified 3 months ago by  Ranuka.
    • This reply was modified 3 months ago by  Ranuka.

    Hi Ranuka,

    Thanks for the follow up.

    I have tested this on your site and it works accordingly on category archives but does not play ball on the author archives. This is however strange since I cannot reproduce this on my end. I suspect that one of your installed plugins could be changing the robots meta on the author pages.
    To fix and override this, I have added this code to your theme’s functions.php file:

    /**
     * Rank Math filtering of author archives robots meta data.
     *
     * @param array $robots The meta robots directives.
     */
    add_filter( 'rank_math/frontend/robots', function( $robots ) {
    	if(is_author()){
    		$robots['index'] = "noindex";
    	}
    	return $robots;
    });

    I hope this info helps. Thank you.

    Thank you very much for this thread, I had the same problem with the Elementor library and now it is solved with the update 🙂

    Hello Jose,

    We are super happy that this resolved your issue. 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/?rate=5#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 9 replies - 1 through 9 (of 9 total)

The ticket ‘Remove Custom Post from Sitemap & Index / Noindex BUG’ is closed to new replies.