Simple ASP.NET SEO Enhancement

As many people have mentioned one of the most important (and easy) SEO related enhancements you can make to your site is to use a unique title and meta description on each page.

In ASP.NET 2.0 the page title is easily set either via either the title attribute of the page directive in the markup, or by setting it directly in code e.g

this.Title = “my unique title”;

Creating a unique meta description is slightly more involved but still pretty straight forward.

HtmlMeta metaDescription = new HtmlMeta();
metaDescription.Name = “description”;
metaDescription.Content = “my unique description”;
this.Header.Controls.Add(metaDescription);

These are two of the simplest and quickest SEO related enhancements you can make to your ASP.NET site – you’ve really got no excuse not to!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s