Search Engine Optimization for .NET

Posted by: Brendan Kowitzs Web Log - Yes means I understand, however, it does not correspond to action., on 17 Dec 2006 | View original | Bookmarked: 0 time(s)

Search Engine Bot Detection

So after I first noticed a large build up of strange session Urls in Google searches for my domain I've then done a little bit of research into the issue and discovered it was .NET not detecting that the search engine spider was Mozilla/5.0 compliant and inserting some rubbish session id into the url.

It's been nearly a week since my changes to correct this and there's already a small indication of the 'healing' process. The pages are not out of the index yet, (and yes I do know that I 'could' remove them manually) but there are a lot of urls, and I'm in no rush.

ASP.NET Url Cleanup

Note on Webparts

Another change I have made this week was completing stripping webparts out of my template. Now even though I think webparts are extremely cool...they render HTML Soup. So I'd probably recommend that if you have a site where you are trying to get it to rank via the content, don't use webparts. If its an admin section / personalisation portal / intranet site or any other scenario when content ranking is not important, then by all means, feel the soup power!

Apart from dropping 20k from my page here's another unexpected result:

Frontpage validates as XHTML 1.0 Transitional

Yey I pass validation on W3C!!

Evil ViewState

Well I think viewstate is fantastic, its a set-and-forget automagickeep-state for all things on your form. Only problem is it renders before the content. This is a bad thing because search phrases gain more significance the closer they are to the top of the document, so the idea is to keep the soup at the bottom. A bit of Googling shows there are various methods that have been implemented to move it to the bottom. The method I kind of agreed with (although I've lost the link d'oh) was where a basepage class simple overrides handling the viewstate and uses the LosFormatter to store it in the session. Now I only half agree with this, I like the idea of overriding the handling of the viewstate but not putting it in the session. I simply used this but added my own HiddenControl (i.e. __VIEWSTATE_SEO) to the bottom of the form on pre-render, easy.

New Blog Category

In respect of all these new things that appear to be common SEO problems I have created to new category for SEO.NET (Search Engine Optimisation for .NET) blog posts. And in addition to this I will be trying to starting a small toolkit of classes and resources that should be able to beapplied to any ASP.NET 2.0 application to make it more SEO friendly.

Advertisement
Free Agile Project Management Tool from Telerik
TeamPulse Community Edition helps your team effectively capture requirements, manage project plans, assign and track work, and most importantly, be continually connected with each other.
Category: ASP.NET | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 993 | Hits: 46

Similar Posts

  • Search Engine Optimization in AJAX site more
  • Search Engine Optimization Enhancements in ASP.NET 4 more
  • Search Engine Optimization (SEO) Enhancement in ASP.NET 4.0 more
  • Mix2010: Search Engine Optimization (SEO) for Microsoft Silverlight more
  • Silverlight 4 + RIA Services - Ready for Business: Search Engine Optimization (SEO) more
  • Search Engine Optimization Tools - Online! more
  • Search Engine Optimization got a lot easier more
  • Search Engine Optimization (SEO) Toolkit more
  • Learn A Few Tips And Tricks Concerning Adsense and Search Engine Optimization more
  • Presenting at ASP.NET Connections in Las Vegas more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD