Noindex problems

#804189
Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello,

    I apologize for the issue you are facing with your website not indexing in Google Search Console. To address the “Noindex” problem, please follow these steps:

    1. Check Robots Meta Tag: Ensure that the Robots Meta tag is set to “Index” and not “Noindex” for the specific page or post. You can do this by accessing the Advanced tab settings of the post or page and changing the setting to “Index.”

    2. Search Engine Visibility: Make sure that the Search engine visibility option is unchecked in WordPress. To do this, navigate to SettingsReading in your WordPress admin dashboard and ensure that the checkbox labeled Discourage search engines from indexing this site is unchecked.

    3. Validate Fix in Google Search Console: Update your sitemap, then go to your Google Search Console and choose the Validate Fix option to inform the search engine about the error being resolved. Wait for Google to crawl your website, which might take a week or two.

    If you have any further questions or need assistance, feel free to reach out to our dedicated support team here. We are available 24/7 to help you.

    Thank you for reaching out!

    Sources:
    How to Fix Submitted URL Marked ‘NoIndex’ Error » Rank Math
    Fix Excluded by NoIndex Tag – Google Search Console Status » Rank Math
    Why Isn’t My URL Included in the Sitemap? » Rank Math

    Hello,

    The link in your screenshot is an add-to-wishlist filtered URL.

    Those URLs should be set to noindex like my-account, add-to-cart and checkout pages by default using Rank Math as they are unique for users.

    However, if you want to set it to index, you may use this code on your site:

    add_filter( 'rank_math/frontend/robots', function( $robots ) {
    $url = home_url( $_SERVER['REQUEST_URI'] );
    if( (strpos($url,'?add_to_wishlist=') !== false) ) {
    $robots["index"] = 'index';
    $robots["follow"] = 'follow';
    }
    return $robots;
    });

    If you’re not sure how to add this code, you can follow this guide:
    https://rankmath.com/kb/wordpress-hooks-actions-filters/

    Hope that helps.

    Anonymous
    Rank Math free

    Do I need to create a PHP page?

    Hello,

    It is optional to use any of the three mentioned methods to add the above code to your site.

    If you want to use the rank-math.php file method, simply create the file inside your child theme, name it appropriately (rank-math.php), and ensure you start the file content with <?php

    Please to this guide on how to add the code to your site:https://rankmath.com/kb/wordpress-hooks-actions-filters/

    We hope this helps.

    Thanks.

    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 4 replies - 1 through 4 (of 4 total)

The ticket ‘Noindex problems’ is closed to new replies.