Dear All,
I need to ReWrite a URL and thus have been reading about this. It seems there are a number of ways to do it and so I think I need some advice about how to do it in my scenario.
I probably only need a function to do this but here goes..
When a user registers they are given their own space at
Mysite.com/?Username
This works because it defaults to
MySite.com/Default.aspx?Username and I get their real site value by matching the URL from the DB.
The whole site is Ajaxed and so the URL never changes.
What I would like to do is offer the user the url
MySite.com/Username (without the question mark)
So all I need to do is ReWrite the URL by adding the question mark.
All help and advice most appreciated.
Cheers,
J
I need to ReWrite a URL and thus have been reading about this. It seems there are a number of ways to do it and so I think I need some advice about how to do it in my scenario.
I probably only need a function to do this but here goes..
When a user registers they are given their own space at
Mysite.com/?Username
This works because it defaults to
MySite.com/Default.aspx?Username and I get their real site value by matching the URL from the DB.
The whole site is Ajaxed and so the URL never changes.
What I would like to do is offer the user the url
MySite.com/Username (without the question mark)
So all I need to do is ReWrite the URL by adding the question mark.
All help and advice most appreciated.
Cheers,
J