How to Add Title Meta Tags with Conditional Tags on Blogger
How to Add Title Meta Tags with Conditional Tags on Blogger - To create the current title meta tag, the code is shorter. Given that the conditional tags used to render titles (blog titles and articles) on each page, shortened by Blogger.
This title meta tag is usually placed at the very top in an HTML, which is between the code <head> and </head>.
The most frequently encountered on most Blogger / Blogspot templates, the title meta tag is placed under the code <head> along with a row of other meta tag codes.
In fact, for the title meta tag code using the latest non-conditional, more or less it looks like this:
You can configure the meta tag above by separating certain conditional tags, to be more specific. Like this:
Quite clear and easy not to install the title meta tag with the conditional tag. So many tips that I can share this time, hopefully with this short article, it can be useful and useful for you. Good luck.
This title meta tag is usually placed at the very top in an HTML, which is between the code <head> and </head>.
The most frequently encountered on most Blogger / Blogspot templates, the title meta tag is placed under the code <head> along with a row of other meta tag codes.
How to Add Title Meta Tags with Conditional Tags on Blogger
In fact, for the title meta tag code using the latest non-conditional, more or less it looks like this:
<b:if cond='data:view.isHomepage'>
<title><data:blog.title/></title>
<b:elseif cond='data:view.isPost or data:view.isPage or data:view.search.label'/>
<title><data:blog.pageName/></title>
<b:elseif cond='data:view.search.query'/>
<title><data:view.search.resultsMessage/></title>
<b:elseif cond='data:view.search and !data:view.search.label and !data:view.search.query'/>
<title><data:blog.title/></title>
<b:elseif cond='data:view.isArchive'/>
<title><data:view.archive.rangeMessage/></title>
<b:elseif cond='data:view.isError'/>
<title>404 Page Not Found</title>
</b:if>
You can configure the meta tag above by separating certain conditional tags, to be more specific. Like this:
<b:if cond='data:view.isSingleItem'>
<title><data:blog.pageName/></title>
<b:elseif cond='data:view.isHomepage'/>
<title><data:blog.title/></title>
<b:elseif cond='data:view.search.label'/>
<title><data:blog.pageTitle/></title>
<b:elseif cond='data:view.search.query'/>
<title><data:view.search.resultsMessage/></title>
<b:elseif cond='data:view.search and !data:view.search.label and !data:view.search.query'/>
<title><data:blog.pageTitle/></title>
<b:elseif cond='data:view.isArchive'/>
<title><data:view.archive.rangeMessage/></title>
<b:elseif cond='data:view.isError'/>
<title>404 Not Found</title>
</b:if>
Quite clear and easy not to install the title meta tag with the conditional tag. So many tips that I can share this time, hopefully with this short article, it can be useful and useful for you. Good luck.
Crafting an optimized SEO description is a dynamic process that requires a combination of strategic thinking and adaptability.
ReplyDeleteSEO title tag is not only a beacon for search engines but also a gateway for users to explore your content
creating a SEO website design that not only looks appealing but also performs well in search engine rankings is crucial. The structure of your website plays a pivotal role in its SEO success.