So I am assuming that site.com/user/username does not exist.
If that is the case you would need to define a redirect for 404 errors in that directory, go to a specialised page that reads what URL they were trying to access then doing a response.redirect().
I have the code for this at home, if you want me to post it?
The other way (and probably the better solution) would be creating a HTTP handler that does similar to mentioned above but it would look a lot smoother on the user end.
You would use the HTTP handler to get the page requested and redirect then.
Main Topics
Browse All Topics





by: RedKelvinPosted on 2007-10-21 at 19:18:47ID: 20120276
Response.Redirect("newPage .htm")