Question:I really need to help!
I’v a blogger tech blog, and i customized robots.txt file to don’t crawl into the tags of my posts to noindex it.
I want to index some tag pages of my blog, and i want specify a special meta tags (description and h1 title and keywords) for these tags pages because they have a default meta tags of the blog.
May any one help me and describe to me how can i do special meta tags for some tags pages in blogger?
I will be appreciative 🙏🏻
Answer:You can do this by using the conditional tag I gave below in the head section.
To remove the default description tag in tag pages you can do this
<b:if cond='data:blog.searchLabel == "YOUR-LABEL"'> //You can add any meta tags here </b:if>
search for this in your theme =
and change it to;
If there is any place where you hang out, you can ask again.
<b:if cond='!data:view.isLabelSearch'> <meta expr:content='data:view.description' name='description'/></b:if>
If you have better answer, please add a comment about this, thank you!