Wordpress Duplicate Content Vulnerability Wordpress Duplicate Περιεχόμενο ευπάθειας

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 Το παρακάτω είναι ένα 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:

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. Όταν προσπαθείτε να αποκτήσετε πρόσβαση μετά από αυτές τις 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.

  • Lovedeep Thanks a lot for bringing this issue to the concern of all bloggers out there. Lovedeep ευχαριστώ πολύ για την άσκηση αυτό το θέμα στην ανησυχία όλων των bloggers εκεί έξω.

    Especially for bloggers like me who are very much concerned about their blog search engine optimization this post is truly a must read. Ειδικά για τα bloggers, όπως εγώ, που ανησυχούν πάρα πολύ για το blog βελτιστοποίηση μηχανών αναζήτησης τους τη θέση αυτή είναι πραγματικά πρέπει να διαβάσει.

    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. Φοβάμαι μόνο επειδή έχω την προτίμηση www που στο blog μου και είμαι σύγχυση ακόμη πώς να διορθώσετε το σφάλμα δεν θέτει σε κίνηση μια διπλή ανακατεύθυνση.
  • 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 Εάν χρησιμοποιείτε προτίμηση www, τοποθετήστε 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, Thanks, Lovedeep και DJ,

    Thats a very good tip. Thats μια πολύ καλή συμβουλή. I'll try it and see if it works to get better SEO. Θα το δοκιμάσω και να δούμε αν αυτό δουλεύει για να έχουμε καλύτερη SEO.

    Now its harder to know about supplemental pages, because of the Google changes, since supplemental pages are usually because of duplicate content. Τώρα του πιο δύσκολο να ξέρετε για συμπληρωματική σελίδες, λόγω των αλλαγών του Google, αφού συμπληρώνουν σελίδες είναι συνήθως λόγω του αντιγράφου του περιεχομένου.
  • Lovedeep Buddy thanks a lot for helping me out Buddy Lovedeep ευχαριστώ πολύ για τη βοήθειά μου έξω

    DarrinW You are welcome :) DarrinW Είστε ευπρόσδεκτοι:)
  • You are welcome DJ :) Είστε ευπρόσδεκτοι DJ:)
  • Fantastic tip - thanks very much for the heads up. Fantastic tip - ευχαριστώ πολύ για τα κεφάλια επάνω.
  • Thank you, this is an amazing post, great share. Σας ευχαριστώ, αυτή είναι μια καταπληκτική θέση, μεγάλο μερίδιο.
blog comments powered by Disqus blog παρατηρήσεις που κινούνται με Disqus