Indexing Param queries

Devs

Supreme Member
Joined
May 15, 2019
Messages
1,315
Reaction score
40
Hello. How can I prevent my website from being indexed with params queries?
Example: sitename.com/?campaign_id=1&redirect=anysite.com

I do not want my site to be indexed with params queries in this way. What is your suggestion in this case?
 
Indexing issues may not be because of the query parameter URLs. Though current PSI reports shows that your website is performing well.
 
Indexing issues may not be because of the query parameter URLs. Though current PSI reports shows that your website is performing well.
How so? I didnt understand
 
To prevent your website from being indexed with parameter queries:
  1. Use robots.txt: Add rules to block URLs with specific parameters.
  2. Utilize meta tags: Include "noindex" directives in the HTML <head> section of pages with parameters.
  3. Implement canonical tags: Specify the preferred URL version to avoid duplicate content issues.
 
Back
Top