logo

Advertisement

Blogger Mobile Version Par Alag AMP Page Kaise Banaye

Blogger blogs me AMP page 2 tarikon se install kiya ja sakata hai: Ek rel canonical ya rel amphtml page ki madad se aur Dusra keval 1 AMP page bana kar jo sabhi versions par show ho jata hai jaise Desktop, Tablet, aur Mobile. Agar AMP page keval Mobile version par install karna ho, to desktop version me rel="amphtml" ya rel="canonical" page add karna padta hai. Lekin main is post me aap ko ek aasan tarika batana ja raha hu jis se aap ek alag AMP page bana sakte hai. Ye keval mobile version (m=1) par install kiya jata hai. Is ke liye aap ko separate page banane ki koi zaroorat nahi hai. Ye kaam hum m=1 se poora kar sakte hai.

blogger AMP page

Agar WordPress ki baat ki jaye to waha AMP plugin install kiya jata hai. Lekin Blogger me "AMP plugin" manually create kiya jata hai jo ki main dikhane ja raha hu. Steps ko follow karne ke baad aap AMP validator se AMP pages ko check kar sakte hai. Steps ko follow karne se pehle aap apne template ko AMP me upgrade kare.




Keval Mobile Version (m=1) Par AMP Kaise Install Kare

Dosto, ab hum m=1 ka upayog karake Blogger mobile version par alag AMP page banana ki koshish karenge. Ye bahut hi easy aur useful hai.


Step 1

Sab se pehle apne template me ja kar ye code search kare

<HTML amp='amp' expr:dir='data:blog.languageDirection' lang='id'>

Code search karne ke baad ise neeche wale code se replace kare


<HTML expr:dir='data:blog.languageDirection' lang='id'>
<b:attr cond='data:blog.isMobileRequest == &quot;true&quot;' name='amp' value='amp'/>

Step 2.

Ab neeche diya gaya code search kare


<link expr:href='data:blog.url' rel='canonical'/>

Jaise hi code mil jaye ga, to ise neeche diye gaye code se replace kare


<b:if cond='data:blog.isMobileRequest == &quot;false&quot;'>
<link expr:href='data:blog.url' rel='canonical'/>
<link expr:href='data:blog.url + &quot;?m=1&quot;' rel='amphtml'/>
</b:if>
<b:if cond='data:blog.isMobileRequest == &quot;true&quot;'>
<link expr:href='data:blog.url' rel='canonical'/>
</b:if>

Is ke baad krpaya template changes save kare. In 2 steps ko follow karne ke baad aap ka AMP blog keval mobile version (m=1) par install ho jaye ga.


Dosto, is trick se aap ka template layout disturb nahi hoga. Kyonki is trick se AMP page keval mobile version par install ho jata hai Aur aap ka blog layout pehle ki tarah dikhe ga. Jaha tak posts aur pages ka sawaal hai, aap unhe pehle ki tarah prakashit kar sakte hai.


Agar aap Google AdSense use kar rahe hai to is ke liye aapko alag-alag Ad units create karne ki zaroorat nahi hai. Aap ke Ad units dono versions par kaam karenge. Kahi sare bloggers m=1 ko robots.txt me block kar dete hai. Agar aap bhi in me se ek hai to kripya robots.txt ko edit karke m=1 ko unblock kare taki search engine bots AMP page index kar saken.


Dosto, AMP (accelerated mobile pages) ka organic traffic kahin guna ziyada hota hai. Jab koi vyakti mobile par Google search karta hai to AMP pages jhat se dikhayi dete hai jis se website traffic me izafa hota hai. Is ke alawah, ye slow internet connection par badi aasani se load hota hai.

Advertisement


Advertisement

Tags