How to prevent indexing pages with GET parameters?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
16 views
There is a link like: sitename.com/info?id=1

How to disable the entire folder /info regardless of the values of get-parameters?

Thanks in advance.
by | 16 views

2 Answers

0 like 0 dislike
by
0 like 0 dislike
robots.txt:
User-agent: * Disallow: /info* Host: https://sitename.com/ Sitemap: https://sitename.com/sitemap.xml
by

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
110,608 questions
257,187 answers
0 comments
40,796 users