tags:

views:

31

answers:

2

Dears , i was reading this post about adding the meta tags dynamically by code in asp.net 4 - but i need to ask what is the good for SEO , adding it static or no problem with adding it in code behind

http://weblogs.asp.net/scottgu/archive/2010/01/05/asp-net-4-seo-improvements-vs-2010-and-net-4-0-series.aspx

+1  A: 

The SEO aspect is simply that of having meta tags that accurately represent the page. The search engines have no way of telling if they were added statically or dynamically and don't really care about that aspect.

The addition of the MetaKeywords and MetaDescription to the Page class is to simplify dynamic creation of these meta tags - for example if these come from a database, with the rest of the page content.

In earlier versions, one was forced to create literal controls or other ways to generate dynamic meta tags.

Oded
A: 

Generally MetaKeywords is a waste of time from an SEO point of view, since most major search engines ignore them, including Google (due to over abuse). However, MetaDescription is a useful one and should be completed if you can generate a meaningful summary of that accurately describes the page's contents. For more info on what Meta tags Google supports check here.

Generating Meta tags in code behind is useful for sites that have dynamic content drawn into them, such as occurs in a CMS or other data-driven websites. You just have to ensure that what you generate is accurate and useful for the site. This also goes for other things like the browser TITLE tag and things like H1 and H2 tags, which are all important from an SEO point of view.

Dan Diplo