ASP.Net URLMappings

Alright, Still in process of tweaking my blogging tool, Europa, for SEO success. One of the points on the list from Chris was to make my URL's cleaner. Before today, I was using the standard querystring method of reaching pages. The problem with these, is that search engines have a hard time digesting them (Let alone humans.)

At first, this project of converting my links sounded very tedious. Initially I was thinking I'd have to write some elaborate routine on publishing an HTML page after writing a blog, similar to how blogger does it. Not only would I have to make an HTML page for each blog, but I would have to update the extra content (such as "last 10 blogs") in case I wanted to archive them, keep tabs on a main page, rss feed, etc etc etc. Didn't sound appetising at all.

Dissapointed and overcome by this method, I set on a search to find a nice and easy route. Lo' and behold, Microsoft never ceases to amaze me. URLmappings totally made my life easier. They allow you to set a sort of virtual path to your page, yet, still taking in querystring information.

For example, the link to my recent blog, "Lucky Man". It's original (and working) path is:

The after effect of URLMappings is as follows:

Sweet, huh? All I had to do was create an XML file that is referencable to my web.config file. For example, I have a file called URLMapping.xml. This contains all my URL Maps. Example:

<?xml version="1.0" standalone="yes"?>
<urlMappings enabled="true">
   <add url="~/346/2007/9/27/Lucky-Man.aspx" mappedUrl="~/blog.aspx?bID=346&amp;Blog=Lucky+Man" />
</urlMappings>

 

Now, I reference URLMapping.xml from the Web.Config file of my website:

<configuration>
   <system.web>
      <urlMappings configSource="URLMapping.xml" />
   </
system.web>
</configuration>

 

 

That's all there is to it! So now when I save a blog, it opens the URLMapping.xml into a Dataset, quick add the links and save it back. Couldn't be easier.


Tags: Technology, SEO, URLMappings, Microsoft, C#, ASP.NET, Europa, Blog, Visual Studio



SEO? ROI? LOL?

Alright, lately I've been feeling the need to get into some serious SEO. Lately, over at Dream In Code, it seems as though there is a spark of interest with optimising sites for search engines. I'm trying to keep up, but man alive, these kids know how to do it. So here's what I have done... an experiment, have you. I have basically started fresh with my site structure (which goes unnoticed by the average viewer) in an attempt to climb in the Google search queries. But before I can climb with such drastic changes, I must fall at the foot of Google. Here's a few steps I have taken so far:

  • I moved my entire blogs from Blogger.com and Myspace to a home-brew blogging system I have periodically been working on with my free time. I also resurected blogs between 2002-2004 from old home-brew systems I have made. The MSN Spaces era in my life is all that's left. My Blogger account is slowly diminishing in google (when searching for "Nick Davis")
  • I have decided to stick with the domain of  http://www.nicholasdavis.info. For the most part, I was sick of the ".org" look. It's funny and all, having the organization domain, but alas, I'm not an organization. I figured .info was alright, as it is information on me. Unfortunately, I believe it kind of puts me at a disadvantage compared to it's .com and .net brothers.
  • I changed all my page titles to something a little easier for google eat up. On Analytics, people do more searches for "Nick Davis" than "Nicholas Davis". I took that knowlege and figured "Nick Davis" was probably better in the title, especially if I want to tackle those keywords more.
  • I created an RSS feed for the mass populace to consume, of which I have created a modified version for Google to eat up, using Google Webmaster Tools.
  • I submitted my site to Google.
  • I reconstructed my blog template so that it will be easier for search engines to pick up on. Technorati seemed to enjoy it a lot.

So far, my Google presence seems to be improving a little since last week. Searching for "Nick Davis", my blog page shows up at the very bottom. I'm hoping the next couple days, it will be my home page and a couple notches higher than the bottom of the first page. I suppose I also need to work on blogging about things that are interesting.

This blog is my personal experience and for the most part very speculative. So if you have any information or tips, please let me know! I'd love to hear from you.


Tags: Technology, Web, Internet, RSS, Syndication, Google, SEO, Search Engines, Analytics, Blogger



Updated Site

Hello all of my blog readers (All three. bahaha.) Just want to say I updated my blogger so that it posts all latest blogs directly to my website, http://www.nicholasdavis.info/blogs. If you have me linked, please use my new link, it'd be greatly appreciated!

Why the heck would I want to move off of blogspot? Quite frankly, Blogspot is a great place to host a blog. They give you a nice address, it's fast, etc. Well let me tell you why. Two reasons and neither are opposing blogspot. First of all, I have a web server at my hands, so I might as well use it. Secondly, I have been messing with SEO (Search Engine Optimization) and want to try and see if I can boost myself in the search engines a bit. What better place for trial and error than my own website? I've also been actively promoting a couple other sites in google's favor to see if I can't boost them in the lists. It's gotten quite addicting, actually. Statistics are so much fun to play with!

Tags: Archive_Blogger, Blogger, Google, SEO, Web Hosting