Duplicate Meta Description and Title

Ger Vang asked on June 30, 2014 14:25

Duplicate Meta Descriptions and Title Tags when Paginating.

When you break a long post into 3 pages: http://www.example.com/blogs/blog-name http://www.example.com/blogs/blog-name?page=2 http://www.example.com/blogs/blog-name?page=3

This will display the same title and description across all 3 pages and Google will penalize you for duplicate content.

Anyone ran into this problem or have a fix?

Correct Answer

Brenden Kehren answered on July 1, 2014 07:39

Then put a querystring macro after your context macro. Check to see if your "page" parameter is null, if not add the value to the "Page" string.

1 votesVote for this answer Unmark Correct answer

Recent Answers

Ger Vang answered on June 30, 2014 14:35

As of right now, I'm using "{%blogpostsummary|(striptags)true%}" to generate Blog description under Properties > Metadata > Page description. I want to append something like " - Page 2" to the Title and Meta Description.

0 votesVote for this answer Mark as a Correct answer

Ger Vang answered on July 1, 2014 08:15 (last edited on March 24, 2018 12:15)

Thanks Brenden Kehren.

Here's what I put on the Master Page under Properties > Metadata > Page title: {%CurrentDocument.DocumentName|(user)zbynekh|(hash)0bc22d24a54531f129235048b96020e86205f62ec514aea0b2e3bc904a2c755a%}{% if(QueryString.GetValue("Page") != null){" | Page " + QueryString.GetValue("Page")} |(user)zbynekh|(hash)81a8b90e7c18d79b04e68250effd090897512b80f479fc0b8a67c2cbab710f5e%}

Hope that helps!

1 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.