Answer the question
In order to leave comments, you need to log in
How to get rid of unnecessary variables in url?
After the next bypass of Yandex, many pages with the following URLs got into the search engine database:
https://site.com/?page=2?page=2&lang=en-US?page=2?page=2&lang=en-US?page=2?page=2&lang=en-US?page=2?page=2?page=2?page=2?page=2?page=2?page=2?page=2&lang=en-US?page=2?page=2?page=2?page=2&lang=en-US?page=2?page=2&lang=en-US?page=2?page=2&lang=en-US?page=2?page=2?page=2?page=2&lang=en-US?page=2?page=2&lang=en-US?page=2?page=2&lang=en-US?page=2?page=2&lang=en-US?page=2?page=2&lang=en-US?page=2?page=2&lang=en-US?page=2?page=2?page=2?page=2&lang=en-US?page=2?page=2&lang=en-US?page=2?page=2?page=2?page=2
Answer the question
In order to leave comments, you need to log in
First, you need to catch a bug on the site that allowed generating such a URL and which responds with a 200 code to such a URL.
Secondly, finish the code so that such a URL returns 410 (if such addresses do not bring traffic), and wait for the search engine to get rid of such addresses in its database. Or to give 301, and wait for the same.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question