Hey there!
If you are a blogger, you would probably want to boost SEO of your blog.
Obviously,you might have tried hell a lot of SEO tricks.
You might heard about Accelerated Mobile Pages and wondering if there is a way to implement AMP in blogger.
Well! It is easy to implement AMP in blogger. I will walk you through step by step process to impement AMP in your blogspot.
Understanding Accelerated Mobile Pages?
Accelerated Mobile Pages is an Open Source Project by google that provides an awesome way to speed-up your blog loading speed and let your web pages crawl on the internet.
Accelerated Mobile Pages are typically web pages which can be easily controlled by you.
These is no big difference between AMP pages and Normal pages except few code changes in background which you would probably can't find that difference.
If you are a blogger, you would probably want to boost SEO of your blog.
Obviously,you might have tried hell a lot of SEO tricks.
You might heard about Accelerated Mobile Pages and wondering if there is a way to implement AMP in blogger.
Well! It is easy to implement AMP in blogger. I will walk you through step by step process to impement AMP in your blogspot.
Understanding Accelerated Mobile Pages?
Accelerated Mobile Pages is an Open Source Project by google that provides an awesome way to speed-up your blog loading speed and let your web pages crawl on the internet.
Accelerated Mobile Pages are typically web pages which can be easily controlled by you.
These is no big difference between AMP pages and Normal pages except few code changes in background which you would probably can't find that difference.
Core Components in AMP pages:
- AMP HTML
- AMP CACHE
- AMP JAVASCRIPT
Steps to implement AMP in Blogger
1.Create AMP HTML
- Goto blogger.com and sign-in
- Navigate to theme from dashboard and select Edit Template
- In the template code search for < html> tag by pressing cntrl+F
- Now add amp='amp' in the html tag. Now it look like <html amp='amp'>
2.Adding Charset and Viewport Meta Tags
Search for the charset and meta tags and add the following.If in case those tags not found then create them.
< meta charset=”utf-8″>
< meta name=”viewport” content=”width=device-width,minimum-scale=1,initial-scale=1″>
< link expr:href=’data:blog.url’ rel=’canonical’ />
< meta charset=”utf-8″>
< meta name=”viewport” content=”width=device-width,minimum-scale=1,initial-scale=1″>
3.Adding Conanical Tags
Copy and paste the following conanical tag and paste right after viewport tag< link expr:href=’data:blog.url’ rel=’canonical’ />
4.Setup AMP CDN
Copy and paste the following javascript code right 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>
< script async=’async’ src=’https://cdn.ampproject.org/v0.js’>< /script>
5.Changing img tags
Now replace all the < img> tags with < amp-img>also add </ amp-img> end tag
Thats it! you are done setting-up AMP pages in your blogspot
NOTE:
This is only a initial step of creating AMP Pages.There are more configuarations to be done to convert your template into a complete AMP HTML Page.
I will be posting rest of the configuarations gradually.
If you have any doubt, Please reach us through the contact section.We will try to help you out.
If you like the post please consider subscribing
1 Comments
Valuable content. Thanks. Anyone read world best personal finance book visit here https://amazoffersales.blogspot.com/2020/06/rich-dad-poor-dad-no1-international-top.html
ReplyDelete