This is my Blog.

It's full of opinions on a wide range of stuff.

Choosing a style of personalised URL

I think that pretty much all the ‘Personalised URL' jobs that I have ever needed to do have always been of the directory style, e.g:

www.domain.com/mylovelyusername

However, it strikes me that a better and more programatically favourable format is the sub-domain pattern, e.g:

mylovelyusername.domain.com

In this instance you don't have to worry about holding information in sessions, or setting up anything else complicated to make sure that they visit that URL first - it doesn't matter with the sub-domain pattern as you always have there unique identifier to hand in the URL. Im not wholly sure why it is that more people don't see the benefit of doing this - if you ask me it ‘feels' more personal that a one time visit to a directory style URL.

blog comments powered by Disqus