noindex for feed URL

#74593
  • Resolved devoworx
    Rank Math free

    Hello
    Where can I set feed for noindex as I can do in Yoast plugin

    Also, I would like to know Is there any effect to noindex feed URLs

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello,

    Thanks for getting in touch with us.

    You can noindex any page from the Advanced Tab:
    https://i.rankmath.com/UGciOq

    Or from WordPress Dashboard > Rank Math > Titles & Meta

    You cannot noindex feeds but you can disallow them from the robots.txt file at WordPress Dashboard > Rank Math > General Settings > Edit Robots.txt

    User-Agent: *
    Disallow: /feed/
    

    Please note that some options are only available when you enable the Advanced Mode in Rank Math. We give you an option to choose between the two during the setup wizard and you must have chosen to use the Easy Mode.

    You can switch to the Advanced Mode from the top-right corner at WordPress Dashboard > Rank Math > Dashboard

    Here is a screenshot for reference:
    https://i.rankmath.com/oMQ5Vj

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

    Hi,

    I do not see the code I gave you in the robots.txt file:
    https://spgeeks.devoworx.com/robots.txt

    Please add that and if it is not getting added using Rank Math, please create a robots.txt via cPanel/FTP and then add it there.

    Hope that helps.

    Thanks, Uzair,

    I think the correct one should be
    Disallow: */feed/
    please confirm!

    Hello,

    You can use it as below to disallow all URLs that end with /feed/

    
    User-Agent: *
    Disallow: */feed/
    

    Looking forward to helping you. Thank you.

    ​​​​​​

    Thanks for your reply
    so the final robots should looks like

    User-agent: *
    Disallow: /wp-admin/
    Allow: /wp-admin/admin-ajax.php
    Disallow: */feed/
    Sitemap: https://mydomain/sitemap_index.xml

    Right?

    Hello,

    That looks perfect. You can also test it here to confirm: https://technicalseo.com/tools/robots-txt/

    If you have any further question(s), please let us know. Thank you.

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

You must be logged in to reply to this ticket.