Sunday


Blog me spam comments link posting ko automatic block ya disable kaise kare ye jankari apke liye bahut important rahegi kyunki koi nahi chahta hai aur aap bhi nahi chahenge ki koi spammer apni site ke liye backlink banane ke chakker me apki blog post me unwanted and unrelated links bhar de so agar aap bhi apni blog post me link comments ko block karna chahte ho ye post apki help karegi.

blog-comment-me-link-disable-karna


Blog ke liye kaun se link spam / bad hote hai?

Apke blog posts me comments ati hai aur kuch log unme link suggest karte hai. Unhi links me se kuch links apke blog ke liye good and kuch spam ka work karte hai. 

Kaise? 

1. Agar apne kisi health tips jaise ki 'Hume morning me kaisa food lena chahiye' ke bare me koi blog post ki hai es post me agar apka reader 'Breakfast' se related kisi dusri ayesi site ya blog ka link suggest karta hai jo apki post me di gayi jankari ka support karti hai to wo apke blog ke liye good link hoga aur esse apke reader ko adhik jankari milegi aur apke blog per trust badhega.

2. Wahi dusri tarf agar apka koi user apki Breakfast ki jankari wali post per kisi mobile trick ya other services ke promotion se related link post kare to wo apke blog ke liye spam link hoga jo sabse jyada apke user ko pareshan karega kyunki apka reader agar mobile ki tricks me interest rakhata to wo Breakfast ki post ko read karne apke blog per kyu ata.

Ye to example tha spam links aur bhi kai harm pahuchate hai esliye agar aap apne blog comments me link posting disable karna chahte hai to ye tarika use kijiye.


Blog Comment Me Link Posting Ko automatic Block Kaise Kare

Blogspot blog me comments me link posting wali comments ko disable karne ke liye aap ye simple si steps follow kijiye.

Step 1.  Blogger ke theme section me EDIT HTML me jayiye.

Step 2.  Ab niche se ye code copy kar llijiye aur theme ki   </body>  tag ke uper paste kar dijiye.

<b:if cond='data:blog.pageType != &quot;index&quot;'>
<script type='text/javascript'>
// Comments Links Blocker by Byetnet
//<![CDATA[
function blockLinks(e,n){for(var a=document.getElementById(e),m=a.getElementsByTagName(n),t=0;t<m.length;t++)-1!==m[t].innerHTML.indexOf("</a>")&&(m[t].innerHTML="Warning!! Your comment can't be publish because you are try to posting unwanted link!",m[t].className="spammer-detected")}blockLinks("comments","p");
//]]>
</script>
</b:if>

Message Warning!! Your comment can't be publish because you are try to posting unwanted link! ko apne test ke anusar change kijiye.

Fir theme ko save kar dijiye ab agar apka koi user comment me link post karega tab uski comment block ho jayegi aur comment ki jagah apka message show hoga.

Must Read:-



This post have 2 Comment

avatar
Blogger Expert delete 4:56 pm

thanks its works for my blog

Reply

अगर इस पोस्ट के ऊपर आप अपनी कोई प्रतिक्रिया देना चाहते हैं कमेंट बॉक्स का इस्तेमाल करें.

Next article Next Post
Previous article Previous Post