How to change meta tags of each page/post in Blogger?

Started by emedianetwork, 01-16-2014, 02:16:50

Previous topic - Next topic

emedianetworkTopic starter

Can anyone please tell me, how I can change the meta tags of each page/post in blogger? I want to edit meta tags such as title, description and keywords, as per my requirement.

Thanks


samfrank

Log in into your blogger.
Step 2. Choose your one blog.
Step 3. Go to template>>edit html.
Step 4. And find the code <b:include data='blog' name='all-head-content'/>
Step 5. Then paste the below codes below the above code.

<b:if cond='data:blog.url == "PAGE-URL"'>
<meta content='PAGE-DESCRIPTION' name='description'/>
<meta content='PAGE-KEYWORDS' name='keywords'/></b:if>

Now you have to paste the above code every times when you posts.
If you have 20 posts, you should copy and paste the above code 20 times too.

Step 6. Click on Save template button.


carldweb

hey samfrank,
Nice says, but we could simplify this more by adding simple coding Or some blog tools in our blog.

ElizabethParker

Quote from: samfrank on 05-23-2014, 00:45:32
Log in into your blogger.
Step 2. Choose your one blog.
Step 3. Go to template>>edit html.
Step 4. And find the code <b:include data='blog' name='all-head-content'/>
Step 5. Then paste the below codes below the above code.

<b:if cond='data:blog.url == "PAGE-URL"'>
<meta content='PAGE-DESCRIPTION' name='description'/>
<meta content='PAGE-KEYWORDS' name='keywords'/></b:if>

Now you have to paste the above code every times when you posts.
If you have 20 posts, you should copy and paste the above code 20 times too.

Step 6. Click on Save template button.

Thanks for explaining it with the help of code snippet. I changed the meta tags by some other way, I think I need to follow this technique and delete the previously added metas.
  •  

Alawi

If you want to change your meta tags in every post or content in blogger be sure to target your audience because the search engine will rely on this on providing page for the users.
Want to know the latest Online Sports News in NBA and NFL?
  •  


oloman

I don't know any way for keywords, but you have a simple one for title and description using Blogger DATA labels:

<b:include data='blog' name='all-head-content'/>

    <b:if cond='data:blog.url != data:blog.homepageUrl'>
      <title><data:blog.pageName/> | <data:blog.title/></title>
    <b:else/>
      <title><data:blog.pageTitle/></title>
    </b:if>
    <meta expr:content='data:blog.pageName' property='og:title'/>
    <b:if cond='data:blog.metaDescription'>
      <meta expr:content='data:blog.metaDescription' property='og:description'/>
    <b:else/>
      <meta expr:content='data:blog.pageName + &quot;GENERAL DESCRIPTION&quot;' name='description' property='og:description'/>
    </b:if>

It works fine if you always fill the "Search description" for each posts (at "Post Settings" on the right hand side of the edit view)

More info: newbielink:http://www.oloblogger.com/2012/04/ajustando-de-nuevo-el-titulo-y-la.html [nonactive].
  •