2 Replies - 4595 Views - Last Post: 02 April 2008 - 04:37 AM

#1 darkknight187   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 21-November 07

Dynamic Meta Description, is this okay?

Post icon  Posted 21 November 2007 - 07:51 PM

So in order to make my site more search engine friendly,
I am making my meta descriptions dynamic so they're different on each page.

Simple code,

Dim metaDescription As New HtmlMeta 
metaDescription.Name = "description"
metaDescription.Content = ad.Description + " This is a test"
Page.Header.Controls.Add(metaDescription)





I have two questions,

1. When using the above code it changes the format of the header.
For example standard is title, description, keywords ect. . .

Now it enters the description, still inside the head tags, but it's last.
(title, keywords, link to .css, description)

Does anyone know if this is okay or not?????


2. Assuming that it doesn't matter when the description tag shows up in the head,

Does anyone know of a way to limit the description?

Otherwise some of the pages will have maybe 100 words in the description, and I have read that it should really be just a short summary.


Thank you to all.

Daniel

Is This A Good Question/Topic? 0
  • +

Replies To: Dynamic Meta Description, is this okay?

#2 skyhawk133   User is offline

  • Head DIC Head
  • member icon

Reputation: 1967
  • View blog
  • Posts: 20,425
  • Joined: 17-March 01

Re: Dynamic Meta Description, is this okay?

Posted 21 November 2007 - 09:14 PM

dynamic descriptions are just fine, in fact, they are probably better than static because having the same description on every page can create duplicate content penalties, or simply not let the page show up in the serps.

You can put the meta tag anywhere in the head, the order does not matter.

Regarding the length, you should be able to limit the length using whatever client side language you are using to generate the description. You might post that particular question in the appropriate language forum (on the left side of each page). But yes, there is a maximum length and I believe it's around 250 characters.

Oh, and welcome to Dream.In.Code!!!
Was This Post Helpful? 0
  • +
  • -

#3 White   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 31-March 08

Re: Dynamic Meta Description, is this okay?

Posted 02 April 2008 - 04:37 AM

View Postskyhawk133, on 21 Nov, 2007 - 09:14 PM, said:

dynamic descriptions are just fine, in fact, they are probably better than static because having the same description on every page can create duplicate content penalties, or simply not let the page show up in the serps.

You can put the meta tag anywhere in the head, the order does not matter.

Regarding the length, you should be able to limit the length using whatever client side language you are using to generate the description. You might post that particular question in the appropriate language forum (on the left side of each page). But yes, there is a maximum length and I believe it's around 250 characters.

Oh, and welcome to Dream.In.Code!!!



Yeah, as you said there is character limit for description in google...And it will be 256 I think.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1