
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 Het volgende is een gast Blog Post geschreven door Lovedeep Wadhwa die is een technologie analist en geeft je verschillende blogging tips en Internet gerelateerde nieuws op zijn blog Freakitude Freakitude . . Please visit his blog for further articles on blogging and technology. Bezoek zijn blog voor meer artikelen over bloggen en technologie.
Wordpress Duplicate Content Bug Wordpress Duplicate Content Bug
Greg Mulhauser Greg Mulhauser brought into my attention a gebracht mijn aandacht een Duplicate Content Vulnerability Duplicate Content Vulnerability present in Wordpress and Movable type. aanwezig in Wordpress en 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. Als u een gebruiker met behulp van Wordpress permalinks op je blog dan moet u merken dat de inhoud van uw berichten is toegankelijk vanaf oneindig aantal verschillende URL's. You just have to append a sequence of extra digits to the end of a post's URL. Je hoeft alleen een opeenvolging van extra cijfers toe te voegen aan het einde van de URL van een bericht.
For Example take a look at this Bijvoorbeeld een kijkje nemen op deze latest post Laatste bericht from Matt Cutt's Blog. van Blog Matt Cutt's.
The same post is also available on these urls: Hetzelfde bericht is ook beschikbaar op deze URL's:
When we try to access the post from these urls. Wanneer we proberen om toegang tot de post van deze URL's. Wordpress doesn't return a 301 redirect or a 404 error but simply makes the post content available on these url. Wordpress niet terug een 301 redirect of een 404-fout maakt, maar gewoon de functie-inhoud beschikbaar op deze url.
Fix The Duplicate Content Bug Fix De 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. Als u op een zelf gehoste Wordpress blog, kunt u de kwetsbaarheid te lossen door het plaatsen van de volgende regels in je htaccess-bestand.
<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. Als iemand probeert om de post van deze URL's toegang zal een SEO vriendelijke redirect krijgen naar de originele post.
If you are using www preference on your blog, there are some special precautions to take to avoid a double redirect. Als u www voorkeur op uw blog gebruikt, zijn er enkele speciale voorzorgsmaatregelen te nemen om een dubbele redirect te voorkomen.
I prefer you Ik verkies je read this post lees dit bericht to know more. weten. The post also gives info about fixing this duplicate content issue for Movable Type blogs and Wordpress MU blogs. De post geeft ook info over de vaststelling van deze dubbele inhoud kwestie voor Movable Type blogs en Wordpress MU blogs.
















