How To Remove The Diggbar On Your Site

One of my posts on Windows 7 News got Dugg last night and I wanted to remove the Diggbar to ensure that any backlinks that I might get if it makes it onto the Digg homepage (we’re at 30 diggs so far so all help appreciated!) got credited back to my site.

If you are wondering why you should remove the diggbar then read this post.

To remove the diggbar was easy. All we had to do was place the following code from this site before the closing head tag in header.php:


<script type="text/javascript">
if (window != top){
top.location.replace(window.location);
}
</script>