Method # 1: Use CSS to Remove Spam Links From comments:
These days search engines are smart and they know what you are referring is useful and what they should ignore. By removing spam links from comments with the help of CSS could not only hide those links but would stop search engines from indexing them too. So go to Blogger >> Template >> Edit HTML >> Search for Skin tag and just above it paste the following piece of code:Method #2: Use jQuery To Remove Links:
Some people might not recommend the above process they might argue that the spam link is still there, because we have just hide it with the help of a simple display:none; CSS. So go to Blogger >> Template >> Edit HTML >> Search for starting <body> tag and just below it paste the following piece of JavaScript code:Once everything is done, Save the template and now you can sleep with worrying about comment spam. Whenever, a user will leave a link into his comments the link will be considered as spam and he the script will automatically remove it within seconds.
We hope this short tutorial may help you in tackling comment spam from your blogger blog to a certain extent. We would recommend you to also use comment moderation feature that would also be a useful thing to be done to take care spam.
0 comments:
Post a Comment