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
















