Prevent duplicate content with canonical URLs
Archive note. First published on 29 September 2009. The products, interfaces and recommendations discussed here reflect the time of publication.
The importance of duplicate content is still current. For webmasters, there are some common methods to avoid self-caused duplicate content on their own website; but time and again you will encounter websites where the most important basic settings are missing in this regard, such as .htaccess, robots.txt or the Canonical URL tag that has been used for several months.
Duplicate content, which arises from unauthorized copying of copyrighted content, is likely to be a term for most. The consequences are partly drastic and lead from non-indicating corresponding pages in the search engines up to penalties, over which however also in the SEO scene hardly there is any clarity. However, that duplicate content should be avoided, everyone agrees about this; and this also applies to self-inflicted duplicate content, even if it was produced unintentionally.
One of the first steps to avoid duplicate content is to create a .htaccess file: here, for example, it is determined whether or not the website should operate under the “www variant”. Specifically, do I prefer http://www.meine-website.de or rather only http:meine-website.de? The former variant is more advisable, since it tends to link to them. In order to generate a unique URL (you could also say: a standardized URL), there is a 301 redirection in the .htaccess; 302 are suboptimal and absolutely to be avoided here.
With such a 301-redirect, entire domains are usually redirected to prevent web content from occurring and indexing multiple times under two or more different URLs. For individual subpages and subfolders either the exclusion by robots.txt is possible or the use of the somewhat newer Canonical URL tags. This is an elegant solution to clearly determine for search engines which URL the “dominant” is. This can become important, for example, if various dynamically generated addresses occur and therefore is not quite clear, which one is now the original one.
This metatag is designed for example as follows: <link rel=“canonical” href=“http://www.meine-website.de/unterseite.htm” />. Thus it is clearly defined for Google & Co. that hybrids like http://www.meine-website.de/unterseite.htm?sid=asdf123456789 do not have the authority. This Canonical URL tag is simply added in the <head> range; for WordPress blogs there are own plug-ins such as these here. But also with the All In One Seo Pack this meta tag can be created. It provides a useful addition to announce Duplicate Content the fight and further optimize its website.


Schreibe einen Kommentar zu "Prevent duplicate content with canonical URLs"