Click here to Skip to main content
11,408,835 members (62,037 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: C# ASP.NET
Consider that whenever a user writes a url in his browser after my domain i.e
I want that all this url should be automativally redirected in my Default.aspx(i.e my initial page ) so that i can later on use in to create my own search in C# in Default.aspx.cs -->pageload()event.
Please note: I should be able to read the url given by user and not the

Plz guide me with the same.
Posted 7-Jan-13 5:51am
Mathlab at 7-Jan-13 11:05am
If you are using IIS to host your site you need to look up ISAPI, you can script so that all requests go to your default page

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 390
1 Sergey Alexandrovich Kryukov 334
2 Maciej Los 155
3 PIEBALDconsult 140
4 Peter Leow 140
0 Sergey Alexandrovich Kryukov 8,676
1 OriginalGriff 6,855
2 Maciej Los 3,322
3 Abhinav S 3,238
4 Peter Leow 3,034

Advertise | Privacy | Mobile
Web01 | 2.8.150414.5 | Last Updated 7 Jan 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100