I noticed that ASP.NET 4 has a new feature called 'Routing' or something similar. It apparently allows me to use cleaner looking URLs, which purportedly is both for looks and improved SEO. In my case use only basic URLs with little to no GET queries (ie. index.aspx, login.aspx, manage.aspx etc.) Would the ASP.NET routing be of use to me? How would it actually improve my SEO? How is it enabled (ie. do I change login.aspx to /login, or something else?)
I tested a 'route' and noticed that I am just replicating a log of behaviors to drop ".aspx" off my URLs (ie. I change /Login.aspx to /Login). Is there a short-hand version of routing to just drop .aspx off all pages throughout the application?
I've gone on record as being skeptical of the SEO benefits of "friendly" URLs, but no one would dispute that they are nicer for humans to read. If that is something that is important to you, then you might consider using the new routing features in ASP.NET.
This article runs through all of the details, but basically, it involves writing some code in the Application_Start
event in your global.asax file to match up URLs to physical ASP.NET web forms. For example:
RouteTable.Routes.MapPageRoute(
"Login", // a name for this route
"login", // the URL to map
"~/Login.aspx"); // the web form page to which to route