Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Possible Duplicate:
Content appearing under multiple categories; anything I can do to prevent duplicate penalty?

What is the best practice to display a product that may be in several categories without producing duplicate content as far as search engines are concerned?

In the past I have used a default category for each product so only one url is ever displayed for each product, but this is not a nice user experience if for example a product is listed in: maincategory A, subcategory B and also maincategory B, subcategory D and the user navigates through B > D to the product and the page url is displayed as website/A/B/product - the user may have lost the subcategory they came from initially.

Is it really necessary to remove the duplicate url for SER purposes? Or will the SE pick the most appropriate one to list?

share|improve this question
add comment

migrated from stackoverflow.com Jul 17 '11 at 9:38

This question came from our site for professional and enthusiast programmers.

marked as duplicate by John Conde Jul 17 '11 at 19:50

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer

up vote 1 down vote accepted

You need to use <link rel="canonical" href="YOUR_URL" /> to tell Google and other search engines what is the most ideal URL for this content.

Official docs:

Similar questions:

share|improve this answer
add comment