How to remove pages with get parameter from search using rank math plugin

#498181
Viewing 1 replies (of 1 total)
  • Nigel
    Rank Math business

    Hello,

    Thank you for contacting Rank Math for help with removing a URL with query parameters from the Yandex index.

    You do not need to take any action as Rank Math automatically adds a canonical URL to every page with query parameters which tells the search engine not to index URLs with the query parameter. You may refer to the following article on how Yandex handles canonical URLs: https://yandex.com/support/webmaster/robot-workings/canonical.html

    If you would like to prevent Yandex from crawling URLs with a ‘?’ in them, you can add the following rule to your robots.txt.

    
    User-agent: Yandex
    Disallow: /*?
    

    Please note, disallowing indexing of all query parameters is risky as there may be some you want to be crawled and indexed.

    You may refer to this guide for how to edit robots.txt: https://rankmath.com/kb/how-to-edit-robots-txt-with-rank-math/

    Hope that helps. Please let us know if you have questions.

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

The ticket ‘How to remove pages with get parameter from search using rank math plugin’ is closed to new replies.