Irena
Irena

Reputation: 615

Duplicate content and keyword in URL

I observed that StackOverflow uses two types of links:

Should I list PDFs in my sitemap file? and Should I list PDFs in my sitemap file?

for the same question. The idea is clear: add keywords into URL and have SE pick up the page faster.

But shouldn't Google punish for the duplicate content in this case? I'm trying to understand what is more helpful since we have a similar situation on our site.

Upvotes: 2

Views: 456

Answers (2)

Toni Anicic
Toni Anicic

Reputation:

The idea is clear: add keywords into URL and have SE pick up the page faster.

It actually has nothing to do with the speed of indexing, however, it does with ranking.

As pointed above, best approach when dealing with duplicated content inside the same domain is putting a canonical element pointing to the preferred URL.

Upvotes: 0

Ahmet Kakıcı
Ahmet Kakıcı

Reputation: 6404

Source code has the answer.

<link rel="canonical" href="http://stackoverflow.com/questions/1072880/sitemap-xml">
    <link rel="alternate" type="application/atom+xml" title="Feed for question 'Sitemap xml'" href="/feeds/question/1072880">

rel = alternate/canonical

Upvotes: 1

Related Questions