Duplicate meta description on comment pages
-
Hi. I see that, your plugin does its work well with paginated urls about rel:next and rel:prev.
For example when i visit mywebsite.com/category/xxx/page/2/ i cand find these codes on its source:
<link rel=”canonical” href=”https://mywebsite.com/category/xxx/” />
<link rel=’prev’ href=’https://mywebsite.com/category/xxx/’ />
<link rel=’next’ href=’https://mywebsite.com/category/xxx/page/3/’ />So it prevents the duplication of the meta descriptions and titles. Because the code tells Google that this url is a paginated part of the main url.
The problem is: This rel:nexy and rel:prev code doesnt work as the same way in paginated comment urls. Here is the example:
https://mywebsite.com/postxxx/comment-page-2/#comments is the URL.
And in the source code, the rel=prev rel=next tag is not to the comment page-1 and comment page-3.
It is to the previous post and next post like this:
<link rel=’prev’ title=’T?TLE’ href=’https://mywebsite.com/ANOTHERPOST/’ />
<link rel=’next’ title=’T?TLE’ href=’https://mywebsite.com/ANOTHERPOST/’ />FINAL Question:
How can i add rel=prev and rel=next tags to the previous comment page and to the next comment page? Because the plugin adds those tags to the other diffrent posts.
Thank you.
- The topic ‘Duplicate meta description on comment pages’ is closed to new replies.