Answer the question
In order to leave comments, you need to log in
Make a redirect remove "?start=0" at the end?
Hello! I have duplicates on the forum. Open the first page in the topic, address like forum/topic1
If the topic has 2 or more pages, then in the navigation they look like forum/topic1?start=15 or forum/topic1?start=30. But there is a problem, in the page navigation there is also a link to the first page of the form forum/topic1?start=0. As a result, I have a duplicate with the same content forum/topic1?start=0 and forum/topic1
Can I somehow redirect all topics with the address at the end ?start=0 to a normal address? Without affecting ?start=15 etc.
Answer the question
In order to leave comments, you need to log in
1 and both are not "normal" URLs because they have a get request anyway, so you end up with a bunch of pages with the same titles and descriptions, just different content inside.
As a result of this, you will have 30 pages of "red bosh toasters" pages, in fact, each paging page,
see cannibalization of requests.
Therefore, I would recommend
1. rial canonical per page without get parameters
2. prohibit get requests to the txt robot
3. Build a normal CNC
4. Remove paging for Ajax (optional)
5. Remove obsolete paging and put https://developers.google.com/search/docs/guides/l... it's really cool.
now the answer to your answer ;)
RewriteCond %{QUERY_STRING} (^|&)start\=0($|&)
RewriteRule ^forum/topic1$ /forum/topic1? [L,R=301]
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question