December 31, 2012

Blogger Hide Link On Readers Comment

By default blogger set only register user who can made a comment, if some readers make link in they comment, blogger automatically give them rel noffolow. I think this is fine and safe, as long as search engine not follow those links. see picture below how to set only register account can left a commnet on blog.

blogger comment
Login to your Dashboard > Settings > Posts and Comments , check Registered User and check Always on Comment Moderation and Click Save.

But, if those links which left by the readers bothering you, it can be hide using Jquery.

Go to Your Dashboard, Click Template > Edit HTML and Checklist Expand Widget Templates
Scrolldown below and find </head>
Right before it. paste the code below :

<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js' type='text/javascript'/>
<script type='text/javascript'>
$(function() {
$(&#39;#comments p&#39;).find(&#39;a&#39;).remove();
});
</script>

Save the template and try make some comment using links and see if the code work.

If you have Jquery before, delete this line :

<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js' type='text/javascript'/>

That's it, Feel free to leave a comment
Thank You.

1 comment:

  1. Nice Work, Exelant Brother. I hope that your stroggle is very usefull by us. i like it. this site all post is very famous. For more info about SEO tutorials, blogger tutorials, wordpress, making money online see here http://onlineustaad.blogspot.com/

    ReplyDelete