Noindex query strings in URL

  • Hi there how can i noindex query strings in the URL like this:

    /page/3/?orderby=price-desc&product_count=2

Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for contacting Rank math.

    You can use the robots.txt and add a disallow for all user-agents as follows:

    
    User-agent: *
    Disallow: /page/*?*
    

    Hope this helps you.

    ​​​​​​​

    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 ‘Noindex query strings in URL’ is closed to new replies.