WordPress Par First Time Commenter Ko Thank You Page Par Redirect Kaise Kare?

4

“Aap apne WordPress blog me first time commenter ko thank you page par redirect kaise karte hai?“ ye sawal mujhe Ankit ji ne Yoast SEO plugin setup guide post me pucha tha.

So aaj mai unhi ki request par new commenter ko thank you page par redirect karne ke tarike par ye post likh raha hu. I hope isse other readers ko bhi fayda hoga.

Wordpress Par First Time Commenter Ko Thank You Page Par Redirect Kaise Kare in Hindi

Blog me comments system ek aisa important feature hai jisse visitors articles ke bare me admin ko apne reviews bata sakte hai.

Ye blogger and readers ke bich better relationships build karta hai. Jo ki ek blog ko long term tak market banaye rakhne me help karta hai

Yaha mai aapko WordPress blog me first time commenter ko thank you page par redirect karne ke 2 method  bata raha hu. 1st Without Plugin & 2nd using plugin. Aapko isme jo tarika acha lage wo try kar sakte ho.

WordPress par first time commenter ko thank you page par redirect kaise kare?

Important note: First time commenter ko thank you page par redirect (bhejne) ke liye aapko sabse pehle ek thank you page create karna hoga.

Yaha page par aap comment karne wale reader ko move karege.

So chaliye pehle welcome page create kar lete hai.

How to create a welcome page for first time commenters?

WordPress par new page banana bahut asaan hai. Aap apne WordPress Dashboard >> Pages >> Add New par click karke ek welcome page create kar sakte ho.

thank you page

Ab sawal hai ki thank you page me kya kya likhna hota hai. Yani ki content ko jyada se jyada attractive banane ke liye page me kya kya mentioned karna jaruri hai. Jisse maximum commenters attract ho.

So yaha mai aapko kuch welcome page ke liye jaruri tips bta raha hu jise follow karke aap ek successful thank you page create kar sakte ho.

  1. Say thanks: Blog par new commenter ko first time comment karke liye thank you & welcome massage add kare. Isse users appreciate hote hai aur wo aapke blog par next time bhi visit karna pasand karege.
  2. Email subscribe form: Agar kisi reader ko aapka post pasand ata hai to wo future me publish hone wale har post ko read karna pasand karega. So aap welcome page me apna email subscription form add kar sakte ho. Isse interested commenters aapku site ko subscribe kar lenge.
  3. Social links: Aapke network me aye visitors ko social sites jaise Facebook, Twitter etc. par aapko follow ya join karne ke liye aap post me social following buttons laga sakte ho.
  4. Popular posts: Welcome page par aap site ki most popular posts ki list show karke users ko other posts padhne ko bol sakte ho.
  5. Affiliate links: Agar aap affiliate marketing bhi kar rahe ho to welcome page me popular discounted deals add karke apni affiliate sales boost kar sakte ho.

Aisi or bhi bahut si chije hai jo aap apne new commenters ko welcome page par attract karne ke liye hoti hai. Wo aap apni choice se add kar sakte ho.

I hope ab aapko pata chal gya hai ki thank you page ko apne readers ke liye kaise attractive and useful banate hai.

Ab humara next kaam first time commenter ko thank you page par redirect karne ki settings karni hai.

Tarika no. 1: WordPress me bina (without) plugin first time commenter ko welcome page par kaise redirect kare?

Step 1: Sabse pehle apne WordPress Dashboard >> Appearance >> Editor me jaye.

Step 2: Theme ka functions.php folder open kare aur usme niche wala code copy karke paste kare.

Note: WordPress theme functions.php file me koi bhi editing karne se pehle coding ka backup notepad me jarur save karle. Kyuki agar copy paste me koi error ata hai to aapka blog open nahi hoga. Tab aapk notepad se original code copy karke theme me laga sakte ho.

// Redirect first time commenter on WordPress
function harpreetkumar_redirect_first_time_commenters( $location, $comment ) {

// get count of user comments
 $comment_count = get_comments( array( 'author_email' => $comment->comment_author_email, 'count' => true ) );

// check if it's the user first time comment, then redirect to a "custom" page
 if ( 1 == $comment_count ) {
 $location = 'http://your-domain.com/thank-you-for-commenting/';
 }

return $location;
}

add_filter( 'comment_post_redirect', 'harpreetkumar_redirect_first_time_commenters', 10, 2 );

redirect first time commenters to thank you page

Step 3: Settings save kare.

That’s it. Aapke plugins ki settings ho chuki hai.

Verification ke liye aap blog ki kisi bhi post par fake name and email se comment karke check kar sakte ho.

Tarika no 2: Redirect first time to a thank you page using Yoast Comment Hacks Plugin

Agar aap first time commenter ko thank you page par redirect karne ke liye coding method use nahi karna chahte to yaha bataye plugin se bhi aap ye setup kar sakte ho.

Step 1: Sabse pehle WordPress dashboard me Yoast Comment Hack Plugin ko install and activate kare.

Step 2: Ab left side menu me Settings>> Comment Hacks par click karke plugin Settings page par jaye.

Step 3: Comment redirects tab me aapko Redirect to drop-down dikhega. Yaha par click karke aap aapka thank you page select kare.

yoast comment hacks

Step 4: Save Changes button par click kare.

Ab jab koi bhi reader new name and email se comment karega to wo automatically aapke thank you page par redirect ho jayega.

I hope ab aap first time commenter ko thank you page par redirect karne ke tarika sikh gaye hoge. Agar aapka is post related koi sawal ya suggestion ho to comment box me puch lijiye.

4 COMMENTS

LEAVE A REPLY

Please enter your comment!
Please enter your name here