Answer the question
In order to leave comments, you need to log in
How to disable indexing of ref links in robots.txt (duplicate)?
Good!
There is a landing page where referrals send traffic:
/landing
Tell me what to write in robots txt? To leave a landing page in the search but prevent duplicates of this type:
/landing?ref=70
/landing?ref=71 etc.
thanks a lot
Answer the question
In order to leave comments, you need to log in
Nothing in robots. Add it to a <head>
tag <link>
with an attribute rel="canonical"
on your landing page and it will point to the canonical page and consolidate duplicate urls to it. Well, in general, read about this attribute.
<link rel="canonical" href="//example.ru/landing">
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question