Wordpress Duplicate Content Vulnerability ورد تكرار التعرض لمحتوى

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 ما يلي هو ضيف رابط بوست كتبه Lovedeep ادوا الذي يعمل محللا التكنولوجيا ويتيح لك نصائح المدونات المختلفة والانترنت الأخبار ذات الصلة في مكتبه بلوق Freakitude Freakitude . . Please visit his blog for further articles on blogging and technology. يرجى زيارة له بلوق لمزيد من المقالات على المدونات والتكنولوجيا.

Wordpress Duplicate Content Bug ورد تكرار مضمون الشوائب

Greg Mulhauser جريج Mulhauser brought into my attention a جلبت الى انتباهي Duplicate Content Vulnerability تكرار التعرض لمحتوى present in Wordpress and 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. إذا كنت من مستخدمي وورد باستخدام عبادة على بلوق الخاص بك ثم يجب أن نلاحظ أن محتوى موقعك على وظائف يمكن الوصول إليها من عدد لانهائي من عناوين مختلفة. You just have to append a sequence of extra digits to the end of a post's URL. عليك فقط لإلحاق سلسلة من الأرقام الإضافية إلى نهاية وظيفة للعنوان.

For Example take a look at this على سبيل المثال نلقي نظرة على هذا latest post آخر مشاركة from Matt Cutt's Blog. من مات Cutt مدونة.

The same post is also available on these urls: نفس المنصب كما يمكن الاطلاع على هذه العناوين :

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. عندما نحاول الحصول على وظيفة من هذه العناوين. Wordpress doesn't return a 301 redirect or a 404 error but simply makes the post content available on these url. وورد لا عودة 301 توجيه أو الخطأ 404 ولكن ببساطة يجعل من مضمون ما بعد الاطلاع على هذه رابط.

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. إذا كنت على الذات استضافت ورد بلوق ، يمكنك إصلاح الضعف من خلال وضع القواعد التالية في ملف هتكس.

<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. اذا كان هناك من يحاول الوصول إلى وظيفة من هذه العناوين سوف تحصل على توجيه كبار المسئولين الاقتصاديين ودية الى الموقع الأصلي.

If you are using www preference on your blog, there are some special precautions to take to avoid a double redirect. إذا كنت تستخدم شبكة الاتصالات العالمية أفضلية على بلوق الخاص بك ، وهناك بعض الاحتياطات الخاصة التي تتخذ لتجنب توجيه مزدوجة.

I prefer you انا افضل لك read this post قراءة هذا المقال to know more. لمعرفة المزيد. The post also gives info about fixing this duplicate content issue for Movable Type blogs and Wordpress MU blogs. وظيفة كما يعطي معلومات عن تحديد هذه المسألة مكررة لبلوق المحتوى المنقول نوع وورد ام يو بلوق.

  • Lovedeep Thanks a lot for bringing this issue to the concern of all bloggers out there. Lovedeep شكرا جزيلا لطرح هذه المسألة الى الشغل الشاغل لجميع المدونين هناك.

    Especially for bloggers like me who are very much concerned about their blog search engine optimization this post is truly a 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. أنا خائفة فقط لأن لدي تفضيل مجموعة الشبكه العالمية على بلدي بلوق ، وأنا لا يزال يخلط كيفية إصلاح الخلل دون أن يؤدي ذلك إلى إعادة توجيه مزدوجة.
  • Many thanks for bringing this news to light. شكرا جزيلا لجلب هذه الأخبار للضوء. And thanks for the remedial measure as well ;) وشكرنا لتدبير علاجي كذلك ؛)
  • Thanks for the comments. شكرا لهذه التعليقات. :) :)

    If you are using www preference, insert إذا كنت تستخدم شبكة الاتصالات العالمية تفضيل ، تضاف http://www.yourdomain.com/ http://www.yourdomain.com/ in front of the $1 to avoid a double redirect. في الجبهة من 1 دولار لتجنب توجيه مزدوجة.


    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, شكرا ، وLovedeep دي جي ،

    Thats a very good tip. Thats جيدة جدا الحافة. I'll try it and see if it works to get better SEO. سأحاول ونرى ما اذا كان يعمل للحصول على أفضل كبار المسئولين الاقتصاديين.

    Now its harder to know about supplemental pages, because of the Google changes, since supplemental pages are usually because of duplicate content. الآن من الصعب أن تعرف عن صفحات تكميلية ، وذلك بسبب التغييرات مجموعات ، منذ الصفحات الاضافية عادة ما تكون بسبب ازدواجية المحتوى.
  • Lovedeep Buddy thanks a lot for helping me out Lovedeep بفضل الأصدقاء لديك الكثير لمساعدتي في الخروج

    DarrinW You are welcome :) DarrinW اهلا وسهلا بكم :)
  • You are welcome DJ :) اهلا وسهلا بكم دي جي :)
  • Fantastic tip - thanks very much for the heads up. تلميح رائع -- شكرا جزيلا لرؤساء متابعة.
  • Thank you, this is an amazing post, great share. شكرا لك ، هذه هي وظيفة مذهلة ، وحصة كبيرة.
blog comments powered by Disqus بلوق التعليقات مدعوم من هارد