Diggbar is SEO Friendly, Digg - tips to block

Last week’s release of DiggBar, which serves as both a new interface for Digg and doubles as a URL shortening service, raised some SEO concerns over PageRank and canonical issues. “Prior to launching the DiggBar, we reached out to Google and SEO experts to ensure we adhered to the leading best practices, as we framed and linked […]

Share online:

Last week’s release of DiggBar, which serves as both a new interface for Digg and doubles as a URL shortening service, raised some SEO concerns over PageRank and canonical issues. “Prior to launching the DiggBar, we reached out to Google and SEO experts to ensure we adhered to the leading best practices, as we framed and linked directly to source content via the DiggBar,” responds Digg. If for some reasons, you want block your website / blog from DiggBar, just add the following PHP code near the top of your page:

<?php
if (preg_match('#http://digg.com/\w{1,8}/*(\?.*)?$#',
$_SERVER['HTTP_REFERER']) ) {
echo "<p>Special message for Digg users here.</p>";
exit;
}
?>

About The Author

Deepak Gupta is a IT & Web Consultant. He is the founder and CEO of diTii.com & DIT Technologies, where he's engaged in providing Technology Consultancy, Design and Development of Desktop, Web and Mobile applications using various tools and softwares. Sign-up for the Email for daily updates. Google+ Profile.