This blog has moved!

Check out www.CodeBetter.com/blogs/grant.killian

<July 2008>
SuMoTuWeThFrSa
293012345
6789101112
13141516171819
20212223242526
272829303112
3456789


Navigation

Professional Props...

Extracurricular Props...

Subscriptions

Article Categories



Friday, April 02, 2004 - Posts

SEO, .Net, and URL Rewriting

Although preliminary findings by Scott Mitchell indicate blog posts on Fridays aren't paid much attention, I'm going forward with a Friday afternoon blog entry.  What the heck, the office is practically empty and I'm all caught up for once.

Something that has been coming up more and more is SEO, or Search Engine Optimization.  It's a big deal for our ecommerce customers who want to be high in the Google and Yahoo search results.  While I don't get involved in the SEO details very often, there are ways that software development (which is my main job) overlaps with SEO.  One of these main overlaps is with URL Rewriting -- where you map a search engine unfriendly name like “http://www.Domain.Com/products/prodDetailView.aspx?pid=3432&catid=3434355” to something more meaningful to the search engine spiders like “http://www.Domain.Com/TabletPC-Computers.aspx”.

I don't know the ins-and-outs of google's algorithm (although in a few conversations with these guys they claim to), but the full substance of an HTML page can be considered by the search engines. This means the first url with the nasty querystring is meaningless and can't contribute to a page's search ranking, while the 2nd url is more substantial and may add to the page's rank for TabletPCs and Computers.

Before .Net this was a tricky ISAPI issue for Windows servers; now, via the HttpContext.Current.RewritePath() method, we can Rewrite URLs relatively easily.

This CSharpFriends article has a quick snippet that illustrates the basics; 15Seconds has a much more in depth treatment.  We've got our own “engine“ and the boss man would frown on me posting it (although it's not rocket science!).  You intercept the request for the friendly URL in the Application_BeginRequest event handler and rewrite it as the one your system recognizes:

   HttpContext myContext =  HttpContext.Current;
   myContext.RewritePath("HttpContext_Next.aspx");

To understand the SEO side a bit more, check out Page 1 or Page 2 of this article from the SEOConsultants. 

In the future I may discuss some of the other ways software development supports a site's SEO efforts; after all, who cares if the site is well programmed if nobody can ever get to it?

Happy .Netting!

posted Friday, April 02, 2004 2:20 PM by grant.killian

HTML is not a programming language

There's nothing that sours me on a job candidate more than finding something like “Advanced HTML Programming” listed under a “Programming Skills” heading.  It's right up there with the “MS FrontPage Expert” skillset.  I understand that having an AOL email address can flag you as potentially un-technical, but to me, the “Advanced HTML Programmer“ and the “MS FrontPage Expert“ are much more indicative of the candidate's quality.

I don't want to sound arrogant, although I'm certainly coming across that way, but by including these sorts of things in a resume you're implicitly communicating that you don't have a good understanding of web software development. 

If you're applying for a mid-level software developer position, don't set a reference to the Amateur Namespace!

Happy .Netting!

posted Friday, April 02, 2004 8:52 AM by grant.killian




Powered by Dot Net Junkies, by Telligent Systems