
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 Το παρακάτω είναι ένα Blog Σχόλια Post γραμμένο από Lovedeep Wadhwa ο οποίος είναι αναλυτής τεχνολογία και σας δίνει διάφορες συμβουλές blogging και ειδήσεων σχετικών με το Διαδίκτυο στο blog του Freakitude Freakitude . . Please visit his blog for further articles on blogging and technology. Παρακαλούμε επισκεφθείτε το blog του για περαιτέρω άρθρα σχετικά με το blogging και την τεχνολογία.
Wordpress Duplicate Content Bug Wordpress Duplicate Περιεχόμενο Bug
Greg Mulhauser Greg Mulhauser brought into my attention a έφερε την προσοχή μου σε ένα Duplicate Content Vulnerability Διπλούν Περιεχόμενο ευπάθειας present in Wordpress and Movable type. παρόντες σε Wordpress και Κινητοί τύπου.
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. Εάν είστε χρήστης Wordpress χρησιμοποιώντας permalinks στο blog σας, τότε θα πρέπει να παρατηρήσετε ότι το περιεχόμενο των μηνυμάτων σας είναι προσβάσιμη από άπειρο αριθμό διαφορετικών urls. You just have to append a sequence of extra digits to the end of a post's URL. Απλά πρέπει να προσθέσετε μια σειρά επιπλέον ψηφία στο τέλος του URL ενός post.
For Example take a look at this Για παράδειγμα ρίξτε μια ματιά σε αυτό το latest post τελευταία Δημοσιεύση from Matt Cutt's Blog. από Blog Matt Cutt του.
The same post is also available on these urls: Η ίδια θέση είναι επίσης διαθέσιμη σε αυτές τις διευθύνσεις url:
When we try to access the post from these urls. Όταν προσπαθείτε να αποκτήσετε πρόσβαση μετά από αυτές τις urls. Wordpress doesn't return a 301 redirect or a 404 error but simply makes the post content available on these url. Wordpress δεν επιστρέψει μια ανακατευθύνει 301 ή 404 λάθος, αλλά απλώς καθιστά το περιεχόμενο θέση διαθέσιμες σε αυτά τα URL.
Fix The Duplicate Content Bug Fix Το αντίγραφο Περιεχόμενο Bug
If you are on a self hosted Wordpress blog, you can fix the vulnerability by placing the following rules in your htaccess file. Αν είστε σε μια ανεξάρτητη φιλοξενείται Wordpress blog, μπορείτε να ορίσει την ευπάθεια, τοποθετώντας τους ακόλουθους κανόνες htaccess αρχείο σας.
<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. Αν κάποιος προσπαθήσει να αποκτήσει πρόσβαση μετά από αυτές τις διευθύνσεις URL που θα πάρετε μια SEO friendly ανακατευθύνει στην αρχική θέση.
If you are using www preference on your blog, there are some special precautions to take to avoid a double redirect. Εάν χρησιμοποιείτε προτίμηση www στο blog σας, υπάρχουν ορισμένες ειδικές προφυλάξεις για να λάβει για να αποφευχθεί η διπλή ανακατεύθυνση.
I prefer you Σας προτιμάτε read this post διαβάστε αυτό το post to know more. να μάθω περισσότερα. The post also gives info about fixing this duplicate content issue for Movable Type blogs and Wordpress MU blogs. Η θέση παρέχει επίσης πληροφορίες σχετικά με τον καθορισμό αυτό διπλούν ζήτημα περιεχομένου για κινητά Τύπος blogs και Wordpress blogs MU.
















