Wordpress Duplicate Content Vulnerability Wordpress Duplicate Content vulnerabilidad

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 La siguiente es una entrada de blog escrito por Anónimo Lovedeep Wadhwa que es un analista de tecnología y le da consejos diferentes blogs y noticias relacionadas con Internet en su blog Freakitude Freakitude . . Please visit his blog for further articles on blogging and technology. Por favor, visitar su blog para los artículos sobre los blogs y la tecnología.

Wordpress Duplicate Content Bug Contenido duplicado Wordpress Bug

Greg Mulhauser Greg Mulhauser brought into my attention a traído a mi atención de un Duplicate Content Vulnerability Contenido duplicado vulnerabilidad present in Wordpress and Movable type. presentes en Wordpress y 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. Si usted es un usuario de Wordpress mediante enlaces permanentes en su blog, usted debe notar que el contenido de sus mensajes es accesible desde el número infinito de direcciones URL diferentes. You just have to append a sequence of extra digits to the end of a post's URL. Sólo tienes que añadir una secuencia de dígitos extra al final de la URL de una entrada.

For Example take a look at this Por ejemplo, adoptar un vistazo a este latest post último mensaje from Matt Cutt's Blog. Blog de Matt Cutt's.

The same post is also available on these urls: El mismo puesto también está disponible en 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. Cuando tratamos de acceder al puesto de estas direcciones URL. Wordpress doesn't return a 301 redirect or a 404 error but simply makes the post content available on these url. Wordpress no devuelve un redireccionamiento 301 o un error 404, sino que simplemente hace que el contenido puesto disponible en URL.

Fix The Duplicate Content Bug Arreglar el fallo de contenido duplicado

If you are on a self hosted Wordpress blog, you can fix the vulnerability by placing the following rules in your htaccess file. Si usted está en un auto de alojamiento de blogs de Wordpress, se puede corregir la vulnerabilidad mediante la colocación de las siguientes reglas en el archivo 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. Si alguien trata de acceder al puesto de estas URLs obtendrá una redirección SEO amigable para el puesto original.

If you are using www preference on your blog, there are some special precautions to take to avoid a double redirect. Si está utilizando la preferencia de WWW en su blog, hay algunas precauciones a tomar para evitar una doble redireccionamiento.

I prefer you Yo prefiero que usted read this post leer este post to know more. para saber más. The post also gives info about fixing this duplicate content issue for Movable Type blogs and Wordpress MU blogs. El puesto también da información sobre la fijación de este problema de contenido duplicado de blogs Movable Type y los blogs de Wordpress MU.

  • Lovedeep Thanks a lot for bringing this issue to the concern of all bloggers out there. Gracias Lovedeep mucho para llevar esta cuestión a la preocupación de todos los bloggers que hay.

    Especially for bloggers like me who are very much concerned about their blog search engine optimization this post is truly a must read. Especialmente para los bloggers como yo, que están muy preocupados por su blog de optimización de motores de búsqueda de este post es realmente una lectura obligada.

    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. Tengo miedo sólo porque tengo la preferencia www conjunto en mi blog y aún estoy confundido cómo arreglar el fallo sin provocar una redirección doble.
  • Many thanks for bringing this news to light. Muchas gracias por traer esta noticia a la luz. And thanks for the remedial measure as well ;) Y gracias por la medida de rehabilitación, así;)
  • Thanks for the comments. Gracias por los comentarios. :) :)

    If you are using www preference, insert Si está utilizando la preferencia www, inserte http://www.yourdomain.com/ http://www.yourdomain.com/ in front of the $1 to avoid a double redirect. frente a los $ 1 para evitar una doble redireccionamiento.


    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, Gracias, Lovedeep y DJ,

    Thats a very good tip. Eso es una sugerencia muy buena. I'll try it and see if it works to get better SEO. Voy a intentarlo y ver si funciona para tener mejor SEO.

    Now its harder to know about supplemental pages, because of the Google changes, since supplemental pages are usually because of duplicate content. Ahora es más difícil saber acerca de las páginas de consulta, debido a los cambios de Google, ya que las páginas de consulta son por lo general debido a su contenido duplicado.
  • Lovedeep Buddy thanks a lot for helping me out Lovedeep Buddy muchas gracias por ayudarme

    DarrinW You are welcome :) DarrinW Usted es bienvenido:)
  • You are welcome DJ :) DJ Usted es bienvenido:)
  • Fantastic tip - thanks very much for the heads up. Consejo Fantastic - Muchas gracias por los jefes de.
  • Thank you, this is an amazing post, great share. Gracias, este es un cargo increíble, una gran proporción.
blog comments powered by Disqus blog alimentado por Disqus