Bộ thẻ meta chuẩn SEO
Các bạn copy toàn bộ code dưới đây và chèn vào trước thẻ </head>
<b:if cond='data:view.isMultipleItems'>
<meta expr:content='data:blog.pageTitle' property='og:title'/>
<meta expr:content='data:blog.pageTitle' property='og:image:alt'/>
<meta expr:content='data:blog.pageTitle' name='twitter:title'/>
<meta expr:content='data:blog.pageTitle' name='twitter:image:alt'/>
<b:else/>
<meta expr:content='data:blog.pageName' property='og:title'/>
<meta expr:content='data:blog.pageName' property='og:image:alt'/>
<meta expr:content='data:blog.pageName' name='twitter:title'/>
<meta expr:content='data:blog.pageName' name='twitter:image:alt'/>
</b:if>
<meta expr:content='data:blog.title' property='og:site_name'/>
<b:if cond='data:blog.postImageUrl'>
<meta expr:content='data:blog.postImageUrl' property='og:image'/>
<b:else/>
<b:if cond='data:post.firstimageurl'>
<meta expr:content='data:post.firstimageurl' property='og:image'/>
<b:else/>
<meta content='chèn link ảnh' property='og:image'/>
</b:if>
</b:if>
<b:if cond='data:view.isMultipleItems'>
<meta content='chèn link ảnh' name='twitter:image'/>
<b:else/>
<meta expr:content='data:blog.postImageUrl' name='twitter:image'/>
</b:if>
<b:if cond='data:view.isPost'>
<link expr:href='resizeImage(data:blog.postImageUrl, 700)' rel='image_src'/>
</b:if>
<!-- Meta Description -->
<meta expr:content='data:blog.metaDescription' name='description'/>
<b:if cond='data:blog.metaDescription'>
<meta expr:content='data:blog.metaDescription' property='og:description'/>
<b:else/>
<meta expr:content='data:post.snippet' property='og:description'/>
</b:if>
<meta expr:content='data:blog.metaDescription' name='twitter:description'/>
<!-- Meta Keywords -->
<meta expr:content='data:blog.title' property='article:tag'/>
<meta expr:content='data:blog.metaDescription' name='keywords'/>
<!-- Meta Link -->
<link expr:href='data:blog.url' rel='canonical'/>
<link expr:href='data:blog.url' hreflang='x-default' rel='alternate'/>
<meta expr:content='data:blog.canonicalUrl' property='og:url'/>
<!-- Meta Theme Color -->
<meta content='#fff' name='theme-color'/>
<meta content='#fff' name='msapplication-navbutton-color'/>
<meta content='#fff' name='apple-mobile-web-app-status-bar-style'/>
<meta content='yes' name='apple-mobile-web-app-capable'/>
<!-- Meta Open Graph -->
<meta content='article' property='og:type'/>
<meta content='vi_VN' property='og:locale'/>
<meta content='en_US' property='og:locale:alternate'/>
<!-- Meta Robots Search -->
<meta content='width=device-width, initial-scale=1.0, user-scalable=1.0, minimum-scale=1.0, maximum-scale=5.0' name='viewport'/>
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type'/>
<meta content='vi' http-equiv='Content-Language'/>
<meta content='IE=Edge' http-equiv='X-UA-Compatible'/>
<meta content='Vietnam' name='geo.placename'/>
<meta content='VN' name='geo.country'/>
<meta content='vi' name='language'/>
<meta content='global' name='target'/>
<meta content='global' name='distribution'/>
<meta content='general' name='rating'/>
<meta content='1 days' name='revisit-after'/>
<meta content='true' name='MSSmartTagsPreventParsing'/>
<meta content='index, follow' name='googlebot'/>
<meta content='follow, all' name='Googlebot-Image'/>
<meta content='follow, all' name='msnbot'/>
<meta content='follow, all' name='Yahoo'/>
<meta content='follow, all' name='Bing'/>
<meta content='all' name='spiders'/>
<meta content='all' name='WEBCRAWLERS'/>
Lưu ý: Nếu thẻ nào có rồi thì có thể xoá đi, chúc các bạn thành công 🎉