Setup Google AMP in Blogger

SHARE:

Stepwise guide to Add / Setup Google AMP in Blogger Site

  • Login To your Blogger Blog.
  • Navigate to Design and Click on Edit Template.
  • Modify the existing tags to sync with AMP formatted tags. Replace the Existing code with modified code.
  • Save the template.
  • Your AMP is configured in Blogger now. You can validate your website.

Modified Code to Add / Setup AMP in Blogger/Blogspot

Replace the below codes sample and you will be ready with AMP in Blogger. This is absolutely free. Note to backup your blog before you proceed.
  • Step 1: Create AMP HTML

Backup your Blogger Template to be safe from any kind of problem. Now GoTo your Blogger Dashboard -> Template -> Edit Template.
Replace <html> code with the following code:
<html amp=’amp’> 
  • Step 2: Add Charset and Viewport Meta Tags:

Search and Check for the charset and viewport meta tags. If it is not present, copy and paste the following code after <head> tag:
<meta charset=”utf-8″>
<meta name=”viewport” content=”width=device-width,minimum-scale=1,initial-scale=1″>
  • Step 3: Add Canonical Tags:

Make your blog discoverable using canonical tag. Check for the canonical link tags. If it is not present, add the canonical link like this <link rel=”canonical” href=”http://example.blogspot.in/article-metadata.html” /> which will simply point to itself.
Copy and paste the following code after the viewport tag:
<link expr:href=’data:blog.url’ rel=’canonical’/>
  • Step 4: Setup AMP CDN:

Paste this code just above the </head> tag:
<style amp-boilerplate=’amp-boilerplate’>body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}</style><noscript><style amp-boilerplate=’amp-boilerplate’>body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}</style></noscript>
<script async=’async’ src=’https://cdn.ampproject.org/v0.js’></script>
  • Step 5: Setup AMP Image:

Change the image tags into amp-image tags like the following example code:
<amp-img src=”AmpImage.jpg” alt=”amp-img” height=”500″ width=”500″></amp-img>
Now everything is done.

What is AMP?

AMP or Google AMP is Accelerated Mobile Pages. As the name suggests, it helps to accelerate the site loading on slower internet devices. It is an open source initiative supported by technology companies like Google and Twitter. Although it decreases the site user experience. It filters out the heavy scripts data which makes the site load faster. If you are OK to compromise user experience you can try Google AMP. You can easily add Google AMP in Blogger. This way you will be able to setup Google AMP in Blogger.

Validating Google AMP in Blogger

To Validate your Google AMP Pages in Blogger, you can visit the official website of Google AMP. IF there is any error, the validator will throw the error.
Here is the URL to validate Blogger / Google Blogspot AMP pages
https://validator.ampproject.org/
Enjoy, You will love your site performance now.

COMMENTS

Name

11th,2,12th,20,12th Chemistry,5,12th Computer Science,7,12th Physics,1,5th Sem CSE,1,AAI ATC,2,Android,18,Banking,1,Blogger,41,Books,5,BTech,17,CBSE,22,CSE,4,ECE,3,Electronics,1,English,2,ESE,1,Ethical Hacking,61,Exams,5,Games,9,GATE,1,GATE ECE,1,Government Jobs,1,GS,1,How To,27,IBPS PO,1,Information,52,Internet,24,IPU,8,JEE,8,JEE Mains,8,Jobs,1,Linux,65,News,18,Notes,23,Physics,3,Placement,10,PO,1,Poetry,3,RRB,1,SEO,11,Softwares,38,SSC,2,SSC CGL,1,SSC GS,2,Tips and Tricks,46,UPSC,1,Windows,46,
ltr
item
SolutionRider- One Stop Solution for Notes, Exams Prep, Jobs & Technical Blogs.: Setup Google AMP in Blogger
Setup Google AMP in Blogger
Stepwise guide to Add / Setup Google AMP in Blogger Site...at solutionrider
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQ2dmsdlcLHBdkhvKcFUyYZzvFWSX_U92pzHW9MLaVU1AvBinfJH0kAASVX-n6E4d9RgYZgLcf15joswU2KBMHx2wGfpN7lSofT5vQoAUl48CPrWLula8ABUnp8d4evhPNue7FAwVo5bgz/s400/Google_AMP_.jpg
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQ2dmsdlcLHBdkhvKcFUyYZzvFWSX_U92pzHW9MLaVU1AvBinfJH0kAASVX-n6E4d9RgYZgLcf15joswU2KBMHx2wGfpN7lSofT5vQoAUl48CPrWLula8ABUnp8d4evhPNue7FAwVo5bgz/s72-c/Google_AMP_.jpg
SolutionRider- One Stop Solution for Notes, Exams Prep, Jobs & Technical Blogs.
https://thesolutionrider.blogspot.com/2017/11/setup-google-amp-in-blogger.html
https://thesolutionrider.blogspot.com/
https://thesolutionrider.blogspot.com/
https://thesolutionrider.blogspot.com/2017/11/setup-google-amp-in-blogger.html
true
6820083649286484786
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS CONTENT IS PREMIUM Please share to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy