Answer the question
In order to leave comments, you need to log in
Remove part of the URL without losing indexing in search engines?
Hello, a url of this type is formed:
site.ru/search?sort=ASC&sort_by=price&pattern=A6-858054 (the number can be anything)
and the site displays a table with the data found. (the page is generated "on the fly")
all such URLs have already been indexed by search engines for more than 500 thousand.
Is it possible to remove the search?sort=ASC&sort_by=price&pattern= part of the URL so that only numbers remain?
Now:
site.ru/search?sort=ASC&sort_by=price&pattern=A6-858054
Need:
site.ru/A6-858054" (now this page gives 404)
And if possible, will the pages drop out of the search?
What would you advise?
Thank you.
Answer the question
In order to leave comments, you need to log in
You simply redirect from the first url to the second permanent one
))) How can I write more clearly, in the same place I wrote that (the page is formed on the fly) here is an example:
When you enter a number in the search box, it searches for the number in the database and dumps it on the site.
Right now:
crosskod.ru/search?sort=ASC&sort_by=price&pattern=3445
I can't catch up, how can I redirect to a non-existent page?
It should be like this:
crosskod.ru/3445 (there is no such page at all)
Here the task is to remove the search?sort=ASC&sort_by=price&pattern=
URL and the page is formed only when entering data into the search string, how to make a redirect here and to which page?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question