Wordpress Duplicate Content Vulnerability Wordpress Duplicate Content Sicherheitslücke

Wordpress

The following is a Guest Blog Post written by Lovedeep Wadhwa who is a technology analyst and gives you different blogging tips and Internet related news at his blog Es folgt eine Bewertung des Blog-Post geschrieben von Lovedeep Wadhwa ist eine Technologie, die Analytiker und bietet Ihnen verschiedene Blog-Tipps und Internet-News auf seinem Blog Freakitude Freakitude . . Please visit his blog for further articles on blogging and technology. Bitte besuchen Sie in seinem Blog für weitere Artikel über Blogging und Technologie.

Wordpress Duplicate Content Bug Wordpress Duplicate Content Bug

Greg Mulhauser Greg Mulhauser brought into my attention a brachte in meine Aufmerksamkeit auf ein Duplicate Content Vulnerability Duplicate Content Sicherheitslücke present in Wordpress and Movable type. Gegenwart in Wordpress und Movable Type.

If you are a Wordpress user using permalinks on your blog then you must notice that the content of your posts is accessible from infinite number of different urls. Wenn Sie ein Benutzer unter Verwendung von Wordpress Permalinks auf deinem Blog, dann müssen Sie feststellen, dass die Inhalte Ihrer Beiträge aus der unendlichen Anzahl der verschiedenen URLs erreichbar ist. You just have to append a sequence of extra digits to the end of a post's URL. Sie müssen nur eine Folge der zusätzlichen Stellen bis zum Ende der URL ein Post anhängen.

For Example take a look at this Als Beispiel nehme man einen Blick auf diese latest post Letzten Beitrag anzeigen from Matt Cutt's Blog. Blog von Matt Cutt's.

The same post is also available on these urls: Die gleiche Stelle ist auch auf diese URL:

http://www.mattcutts.com/blog/minty-fresh-indexing/123456/ http://www.mattcutts.com/blog/minty-fresh-indexing/123456/

http://www.mattcutts.com/blog/minty-fresh-indexing/45678/ http://www.mattcutts.com/blog/minty-fresh-indexing/45678/

When we try to access the post from these urls. Wenn wir versuchen, die Post von dieser URLs zugreifen. Wordpress doesn't return a 301 redirect or a 404 error but simply makes the post content available on these url. Wordpress nicht wieder eine 301-Weiterleitung oder ein 404-Fehler, sondern einfach macht die Post Inhalte auf diesen URL.

Fix The Duplicate Content Bug Fix The Duplicate Content Bug

If you are on a self hosted Wordpress blog, you can fix the vulnerability by placing the following rules in your htaccess file. Wenn Sie an einem selbst gehosteten Wordpress-Blog sind, können Sie die Sicherheitslücke, indem Sie die folgenden Regeln in der htaccess-Datei zu reparieren.

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_URI} !.*(/page/[0-9]*/?)$
RewriteCond %{REQUEST_URI} !^/200[0-9]/?$
RewriteCond %{REQUEST_URI} !^/200[0-9]/[01][0-9]/?$
RewriteCond %{REQUEST_URI} !^/200[0-9]/[01][0-9]/[0-3][0-9]/?$
RewriteRule (.*)(/[0-9]+/?)$ $1/ [R=301,L]
</IfModule>

If someone tries to access the post from these urls will get a SEO friendly redirect to the original post. Wenn jemand versucht, die Post von dieser URLs Zugang wird ein SEO freundliche Weiterleitung an den ursprünglichen Nachricht zu erhalten.

If you are using www preference on your blog, there are some special precautions to take to avoid a double redirect. Wenn Sie www bevorzugt in Ihrem Blog verwenden, gibt es einige spezielle Vorsichtsmaßnahmen zu ergreifen, um eine doppelte Weiterleitung zu vermeiden.

I prefer you Ich bevorzuge Sie read this post read this post to know more. mehr zu wissen. The post also gives info about fixing this duplicate content issue for Movable Type blogs and Wordpress MU blogs. Die Post liefert auch Informationen über das Beheben dieses Duplicate Content Problem für Movable Type Blogs und Wordpress MU Blogs.

  • Lovedeep Thanks a lot for bringing this issue to the concern of all bloggers out there. Lovedeep Vielen Dank für die auf dieses Problem ein Anliegen aller Blogger da draußen.

    Especially for bloggers like me who are very much concerned about their blog search engine optimization this post is truly a must read. Speziell für Blogger wie mich, die sehr viel über ihre blog search engine optimization diesem Beitrag betroffen ist wirklich ein must-read.

    I am scared only because I do have the www preference set on my blog and I am still confused how to fix the bug without triggering a double redirect. Ich habe Angst, nur weil ich habe das www bevorzugt in meinem Blog eingestellt, und ich bin immer noch verwirrt, wie der Bug, ohne dass eine doppelte Weiterleitung zu beheben.
  • Many thanks for bringing this news to light. Vielen Dank für die Erhebung dieser Nachricht ans Licht. And thanks for the remedial measure as well ;) Und vielen Dank für die Sanierungsmaßnahme als auch;)
  • Thanks for the comments. Danke für die Kommentare. :) :)

    If you are using www preference, insert Wenn Sie www bevorzugt, legen Sie verwenden http://www.yourdomain.com/ http://www.yourdomain.com/ in front of the $1 to avoid a double redirect. vor dem $ 1 zu vermeiden, ein Doppelzimmer umzuleiten.


    RewriteEngine On
    RewriteCond %{REQUEST_URI} !.*(/page/[0-9]*/?)$
    RewriteCond %{REQUEST_URI} !^/200[0-9]/?$
    RewriteCond %{REQUEST_URI} !^/200[0-9]/[01][0-9]/?$
    RewriteCond %{REQUEST_URI} !^/200[0-9]/[01][0-9]/[0-3][0-9]/?$
    RewriteRule (.*)(/[0-9]+/?)$ http://www.domain.com/$1/ [R=301,L]

    RewriteEngine On
    RewriteCond %{REQUEST_URI} !.*(/page/[0-9]*/?)$
    RewriteCond %{REQUEST_URI} !^/200[0-9]/?$
    RewriteCond %{REQUEST_URI} !^/200[0-9]/[01][0-9]/?$
    RewriteCond %{REQUEST_URI} !^/200[0-9]/[01][0-9]/[0-3][0-9]/?$
    RewriteRule (.*)(/[0-9]+/?)$ http://www.domain.com/$1/ [R=301,L]

    RewriteEngine On
    RewriteCond %{REQUEST_URI} !.*(/page/[0-9]*/?)$
    RewriteCond %{REQUEST_URI} !^/200[0-9]/?$
    RewriteCond %{REQUEST_URI} !^/200[0-9]/[01][0-9]/?$
    RewriteCond %{REQUEST_URI} !^/200[0-9]/[01][0-9]/[0-3][0-9]/?$
    RewriteRule (.*)(/[0-9]+/?)$ http://www.domain.com/$1/ [R=301,L]
  • Thanks, Lovedeep and DJ, Danke, Lovedeep und DJ,

    Thats a very good tip. Das ist eine sehr guter Tipp. I'll try it and see if it works to get better SEO. Ich werde es versuchen und sehen, ob es funktioniert besser SEO zu erhalten.

    Now its harder to know about supplemental pages, because of the Google changes, since supplemental pages are usually because of duplicate content. Now its schwieriger, über zusätzliche Seiten kennen, denn der Google ändert, da zusätzliche Seiten sind in der Regel wegen der doppelten Inhalt.
  • Lovedeep Buddy thanks a lot for helping me out Lovedeep Buddy vielen Dank für die Unterstützung me out

    DarrinW You are welcome :) DarrinW Sie sind willkommen:)
  • You are welcome DJ :) Sie sind herzlich eingeladen DJ:)
  • Fantastic tip - thanks very much for the heads up. Fantastic-Tipp - vielen Dank für das Heads-up.
  • Thank you, this is an amazing post, great share. Vielen Dank, das ist eine erstaunliche Post, großen Anteil.
blog comments powered by Disqus Blog-Kommentare powered by Disqus