{"id":12363,"date":"2009-09-29T13:11:49","date_gmt":"2009-09-29T12:11:49","guid":{"rendered":"https:\/\/www.metamove.de\/?p=12363"},"modified":"2026-11-18T19:09:44","modified_gmt":"2026-11-18T18:09:44","slug":"prevent-duplicate-content-with-canonical-urls","status":"publish","type":"post","link":"https:\/\/www.metamove.de\/en\/programming\/prevent-duplicate-content-with-canonical-urls.html","title":{"rendered":"Prevent duplicate content with canonical URLs"},"content":{"rendered":"<p><strong>Archive note.<\/strong> First published on 29 September 2009. The products, interfaces and recommendations discussed here reflect the time of publication.<\/p>\n<p>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.<br>\n<\/p>\n<p>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.<\/p>\n<p>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 \u201cwww variant\u201d. 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.<\/p>\n<p>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 <a href=\"http:\/\/blogs-optimieren.de\/2009\/02\/14\/kanonische-url-canonical-urls-die-neue-wunderwaffe-gegen-duplicate-content\/\" target=\"_blank\" rel=\"noopener\">Canonical URL tags<\/a>. This is an elegant solution to clearly determine for search engines which URL the \u201cdominant\u201d 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.<\/p>\n<p>This metatag is designed for example as follows: &lt;link rel=\u201ccanonical\u201d href=\u201chttp:\/\/www.meine-website.de\/unterseite.htm\u201d \/&gt;. Thus it is clearly defined for Google &amp; 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 &lt;head&gt; range; for WordPress blogs there are own plug-ins such as <a href=\"http:\/\/yoast.com\/wordpress\/canonical\/\" target=\"_blank\" rel=\"noopener\"> these here<\/a>. 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.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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&nbsp;most&nbsp;[\u2026]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"wp_typography_post_enhancements_disabled":false,"footnotes":""},"categories":[2254],"tags":[],"class_list":["post-12363","post","type-post","status-publish","format-standard","hentry","category-programming"],"acf":[],"yoast_head":"\n<title>Prevent duplicate content with canonical URLs<\/title>\n<meta name=\"description\" content=\"Archive note. First published on 29 September 2009. The products, interfaces and recommendations discussed here reflect the time of publication. The\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.metamove.de\/en\/programming\/prevent-duplicate-content-with-canonical-urls.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Prevent duplicate content with canonical URLs\" \/>\n<meta property=\"og:description\" content=\"Archive note. First published on 29 September 2009. The products, interfaces and recommendations discussed here reflect the time of publication. The\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.metamove.de\/en\/programming\/prevent-duplicate-content-with-canonical-urls.html\" \/>\n<meta property=\"og:site_name\" content=\"metaMOVE\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/metamovegmbh\/\" \/>\n<meta property=\"article:published_time\" content=\"2009-09-29T12:11:49+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-18T18:09:44+00:00\" \/>\n<meta name=\"author\" content=\"master\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@metamovegmbh\" \/>\n<meta name=\"twitter:site\" content=\"@metamovegmbh\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"master\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.metamove.de\\\/en\\\/programming\\\/prevent-duplicate-content-with-canonical-urls.html#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.metamove.de\\\/en\\\/programming\\\/prevent-duplicate-content-with-canonical-urls.html\"},\"author\":{\"name\":\"master\",\"@id\":\"https:\\\/\\\/www.metamove.de\\\/en\\\/#\\\/schema\\\/person\\\/67b1dee3b844044c030e42396deb914c\"},\"headline\":\"Prevent duplicate content with canonical URLs\",\"datePublished\":\"2009-09-29T12:11:49+00:00\",\"dateModified\":\"2026-11-18T18:09:44+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.metamove.de\\\/en\\\/programming\\\/prevent-duplicate-content-with-canonical-urls.html\"},\"wordCount\":435,\"commentCount\":0,\"articleSection\":[\"Programming\"],\"inLanguage\":\"en\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.metamove.de\\\/en\\\/programming\\\/prevent-duplicate-content-with-canonical-urls.html#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.metamove.de\\\/en\\\/programming\\\/prevent-duplicate-content-with-canonical-urls.html\",\"url\":\"https:\\\/\\\/www.metamove.de\\\/en\\\/programming\\\/prevent-duplicate-content-with-canonical-urls.html\",\"name\":\"Prevent duplicate content with canonical URLs\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.metamove.de\\\/en\\\/#website\"},\"datePublished\":\"2009-09-29T12:11:49+00:00\",\"dateModified\":\"2026-11-18T18:09:44+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.metamove.de\\\/en\\\/#\\\/schema\\\/person\\\/67b1dee3b844044c030e42396deb914c\"},\"description\":\"Archive note. First published on 29 September 2009. The products, interfaces and recommendations discussed here reflect the time of publication. The\",\"inLanguage\":\"en\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.metamove.de\\\/en\\\/programming\\\/prevent-duplicate-content-with-canonical-urls.html\"]}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.metamove.de\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/www.metamove.de\\\/en\\\/\",\"name\":\"metaMOVE\",\"description\":\"mit uns zum Erfolg\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.metamove.de\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.metamove.de\\\/en\\\/#\\\/schema\\\/person\\\/67b1dee3b844044c030e42396deb914c\",\"name\":\"master\"}]}<\/script>\n","yoast_head_json":{"title":"Prevent duplicate content with canonical URLs","description":"Archive note. First published on 29 September 2009. The products, interfaces and recommendations discussed here reflect the time of publication. The","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.metamove.de\/en\/programming\/prevent-duplicate-content-with-canonical-urls.html","og_locale":"en_US","og_type":"article","og_title":"Prevent duplicate content with canonical URLs","og_description":"Archive note. First published on 29 September 2009. The products, interfaces and recommendations discussed here reflect the time of publication. The","og_url":"https:\/\/www.metamove.de\/en\/programming\/prevent-duplicate-content-with-canonical-urls.html","og_site_name":"metaMOVE","article_publisher":"https:\/\/www.facebook.com\/metamovegmbh\/","article_published_time":"2009-09-29T12:11:49+00:00","article_modified_time":"2026-11-18T18:09:44+00:00","author":"master","twitter_card":"summary_large_image","twitter_creator":"@metamovegmbh","twitter_site":"@metamovegmbh","twitter_misc":{"Written by":"master","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.metamove.de\/en\/programming\/prevent-duplicate-content-with-canonical-urls.html#article","isPartOf":{"@id":"https:\/\/www.metamove.de\/en\/programming\/prevent-duplicate-content-with-canonical-urls.html"},"author":{"name":"master","@id":"https:\/\/www.metamove.de\/en\/#\/schema\/person\/67b1dee3b844044c030e42396deb914c"},"headline":"Prevent duplicate content with canonical URLs","datePublished":"2009-09-29T12:11:49+00:00","dateModified":"2026-11-18T18:09:44+00:00","mainEntityOfPage":{"@id":"https:\/\/www.metamove.de\/en\/programming\/prevent-duplicate-content-with-canonical-urls.html"},"wordCount":435,"commentCount":0,"articleSection":["Programming"],"inLanguage":"en","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.metamove.de\/en\/programming\/prevent-duplicate-content-with-canonical-urls.html#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.metamove.de\/en\/programming\/prevent-duplicate-content-with-canonical-urls.html","url":"https:\/\/www.metamove.de\/en\/programming\/prevent-duplicate-content-with-canonical-urls.html","name":"Prevent duplicate content with canonical URLs","isPartOf":{"@id":"https:\/\/www.metamove.de\/en\/#website"},"datePublished":"2009-09-29T12:11:49+00:00","dateModified":"2026-11-18T18:09:44+00:00","author":{"@id":"https:\/\/www.metamove.de\/en\/#\/schema\/person\/67b1dee3b844044c030e42396deb914c"},"description":"Archive note. First published on 29 September 2009. The products, interfaces and recommendations discussed here reflect the time of publication. The","inLanguage":"en","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.metamove.de\/en\/programming\/prevent-duplicate-content-with-canonical-urls.html"]}]},{"@type":"WebSite","@id":"https:\/\/www.metamove.de\/en\/#website","url":"https:\/\/www.metamove.de\/en\/","name":"metaMOVE","description":"mit uns zum Erfolg","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.metamove.de\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en"},{"@type":"Person","@id":"https:\/\/www.metamove.de\/en\/#\/schema\/person\/67b1dee3b844044c030e42396deb914c","name":"master"}]}},"_links":{"self":[{"href":"https:\/\/www.metamove.de\/en\/wp-json\/wp\/v2\/posts\/12363","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.metamove.de\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.metamove.de\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.metamove.de\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.metamove.de\/en\/wp-json\/wp\/v2\/comments?post=12363"}],"version-history":[{"count":1,"href":"https:\/\/www.metamove.de\/en\/wp-json\/wp\/v2\/posts\/12363\/revisions"}],"predecessor-version":[{"id":12449,"href":"https:\/\/www.metamove.de\/en\/wp-json\/wp\/v2\/posts\/12363\/revisions\/12449"}],"wp:attachment":[{"href":"https:\/\/www.metamove.de\/en\/wp-json\/wp\/v2\/media?parent=12363"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.metamove.de\/en\/wp-json\/wp\/v2\/categories?post=12363"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.metamove.de\/en\/wp-json\/wp\/v2\/tags?post=12363"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}