WordPress Blogger Blog Me Affiliate Link Ko Cloak Change Kaise Kare


WordPress aur blogger blog me affiliate link ko cloak ya change karne ki jankari : adsense ke alawa affiliate marketing bhi apne blog website se income karne ka best way hai. pehle affiliate marketing etni popular nahi thih. Lekin aajkal online shopping karne wale users badh gaye hai. So, ab all bloggers chahte hai ki we apne blog website par adsense ke alawa affiliate marketing se bhi income kare. Jiske liye hame banner ad code aur link code ko apni site par add karna hota hai.

Wordpress Blogger Blog Me Affiliate Link Ko Cloak Change Kaise Kare

Banner ad code ko ham apne blog website ke header, footer, sidebar, me gadget  ya widgets ka use karke add kar sakte hai. link ko hame apni post ke andar add karna hota hai. Post ke andar link ko add karna sab jante hai. but, post me affiliate link ko insert karne se pehle cloak kyun kare ke  bare me bahut kam bloggers hi jante hai. esliye maximum bloggers original affiliate link ko hi apni post me insert karte hai.

Original affiliate link alphabets, numbers, aur special characters se milkar bana hota hai. jise google search engine bilkul bhi like nahi karta. Eski wajha se hamari site ko search engine penalty mil sakti hai.

Esliye hame bhool kar bhi original affiliate link ko apne blog website me kahin bhi insert nahi karna chahiye. Balki, ese hide cloak karke other simple link par redirect kar dena chahiye.

Jo read karne aur yaad karne me easy ho. Ouske baad hame new link ko apni site me kahin par bhi insert kar sakte hai. esse hamari site par koei bad effect bhi nahi padega. Aur hamare blog website ki search rank par bhi koei asar nahi padega.

WordPress Blog Website Me Affiliate Link Ko Cloak Change Kaise Kare

Jo bloggers affiliate link cloaking ke bare me jante hai. ounme se maximum wordpress users link ko cloak karne ke liye Simple URLs, Pretty Link Lite, ThirstyAffiliates, Hidden Affiliate Links, aadi plugin ka use karte hai. but, es post me ham without plugin, only coding ke through wordpress blog website me affiliate link ko cloak change kaise kare ke bare me janege.

Step 1. Dashboard > Tools > File Editor

  1. WordPress dashboard par show ho rahe ‘seo’ ke option par click kare.
  2. Tools ke option par click kare.
  3. Ab file editor par click kare.

Step 2. Robot.txt File

  1. txt file me jaye.
  2. Content box me Disallow: /go/
  3. Ab save changes to robots.txt file ke button par click karde.

Step 3. .htaccess File

  1. .htaccess file me jaye.
  2. Content box me sabse neeche, neech diye code ki tarah redirection link ko add karde.
  3. Ab, save changes to .access ke button par click karde.
Redirect 302 /go/bluehostindia https://bluehost.in/?utm_source=affiliate&a_aid=6b4df0e0
Redirect 302 /go/hostgatorindia https://affiliates.hostgator.in/affiliate.php?id=9509

Es Code me maine hostgator india aur bluehost india ke affiliate link ko clock kiya hai. ab bhi es tarike se apne kisi bhi affiliate link ko cloak karke redirection link ko create kar sakte hai.

Original Affiliate Link Ko Cloak Hide Karke Redirection Link Kaise Banaye

  1. Redirect 302 Likhe
  2. Space de
  3. /go/ ke baad Product name ya product company name likhe
  4. Space de
  5. Original affiliate link ko likhe

Ab en sab ko milakaar neeche diye link ki tarah ek link ban jayega. jise hame .htaccess file me sabse neeche add karna hai. aur phir setting ko save karna hai.

Redirect 302 /go/hostgatorindia https://affiliates.hostgator.in/affiliate.php?id=9509

Settng save karne ke baad hamara affliate link www.helpfulsmartbook.com/go/hostgatorindia ki tarah ban jayega. Es tarah se ham kisi bhi affiliate link ko change karke ouse doosre link par redirect kar sakte hai. ab hame jab bhi hostgator affiliate link ko apni site me insert karna hoga. to doosre wale link ko hi add karna hoga. es par click karte hi koei bhi visitor apne aap hi original link par redirect ho jayega.

 

Blogger Blog Website Me Affiliate Link Ko Cloak Change Kaise Kare

Blogger blogspot platform par banaye gaye blog website me affiliate link ko cloak change karne ke liye hame sabse pehle apne blog dashboard par ‘theme’ ke option par click karna hoga. Aut phir ‘edit html par click karna hoga.

Edit html ke button par click karte hi theme editor ka page open hoga. Theme editor me hame </head> ko find karna hoga.

Step 1. Neeche diye 1st code ko </head> ke oupar paste kare.

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

Step 2. Ab neeche diye 2nd code ko </head> ke oupar paste kare.

<script>
var aff = new Array();

/* define your links here */
aff['Your affiliate Link1'] = 'Your regular Link1';

aff['Your affiliate Link2'] = 'Your regular Link2';

aff['Your affiliate Link3'] = 'Your regular Link3';

aff['Your affiliate Link4'] = 'Your regular Link4';

aff['Your affiliate Link5'] = 'Your regular Link5';

aff['Your affiliate Link6'] = 'Your regular Link6';

aff['Your affiliate Link'] = 'Your regular Link7';

aff['Your affiliate Link3'] = 'Your regular Link8';

/* do not edit below this point */

/* reverse the key/value pairs so we can lookup based on value */
var aff_reverse = new Array();
for (k in aff) {
 aff_reverse[aff[k]] = k;
}

/* scan all links when the document loads */
$(document).ready(function(){
 $('a').attr('href',function(){
 
 /* if the link isn't listed above, do nothing */
 if (!aff[$(this).attr('href')]) {return $(this).attr('href');}
 /* ok, the link is in our list */
 $(this).click(function(){
 /* when the link is clicked on, revert it back to the affiliate link */
 //$(this).attr('href', aff_reverse[$(this).attr('href')]);
 return true;
 });
 $(this).mouseup(function(){
 /* Firefox ignores onclick event when the link is opened via middle mouse (new tab) */
 $(this).attr('href', aff_reverse[$(this).attr('href')]);
 return true;
 });
 $(this).mouseout(function(){
 /* revert back to non-aff link in case they opened in new tab */
 $(this).attr('href', aff[$(this).attr('href')]);
 return true;
 });
 /* change the affiliate link to a non-affiliate link */
 return aff[$(this).attr('href')];
 });
});
</script>

2nd code ki 4th line me ‘your affiliate link1’ ki jagah apne original affiliate link ko add kare. Aur ‘your regular link1’ ki jagah apne new link ko add kare. Example ke liye aap neeche dekhkar samajh sakte hai.

Original affiliate link : https://affiliates.hostgator.in/affiliate.php?id=9509
New Link : www.helpfulsmartbook.com/go/hostgatorindia

Ab ham apne blog posts me new affiliate link ko add kar sakte hai. jis par click karte hi visitors original link par hi redirect ho jayege.Agar aap apne blog website par affiliate link ka use karte hai, to pehle ouse cloak zaroor kare. Aur phir new link ko hi apni blog posts me add kare. Jisse ki aapki site search engine penalty se bachi rahe.

I hope, es post ko read karne ke baad aap jaan gaye honge ki wordpress aur blogger blog website me affiliate link ko cloak hide change kaise karte hai.

Related Posts:

Hi, Everybody. Helpful Smart Book Me Aapka Swagat Hai. Mera Naam Mohd Zakaria Hai. Mai Uttar Pradesh, India Me Rehta Hun. Helpful Smart Book Par Mai Internet, Technology, Social Media, Blogging, Make Money Online, Aur Education, Aadi… Se Related Important Information  Share Karta Rehta Hun. Es Site Par Visit Karke Aap Apni Knowledge Badha Sakte Hai, Aur Bahut Sari Problems Ka Solution Bhi Pa Sakte Hai. Agar Aap ko Post Pasand Aaye, To Please Share Zaroor Kare.

2 thoughts on “WordPress Blogger Blog Me Affiliate Link Ko Cloak Change Kaise Kare”

Leave a Comment