Welcome to WebmasterWorld Guest from 54.234.244.30

Forum Moderators: ocean10000

Message Too Old, No Replies

How to Redirect A web page

     
11:44 am on May 22, 2006 (gmt 0)

New User

10+ Year Member

joined:Dec 10, 2005
posts:19
votes: 0


Hello Every Body,

I have a site running on IIS Server. I want to do the redirect the Pages. Please tell me the complete procedure how to redirect the web pages. I have the Complete access of IIS Server.

Please send me the details Code with the steps how to perform the operations

Regards
Ujjwal

3:03 pm on May 22, 2006 (gmt 0)

Junior Member

10+ Year Member

joined:June 21, 2005
posts:60
votes: 0


When you say redirect the pages, do you mean redirect the default page from C:\Inetpub to something different, or do you mean within a page, after a login?
9:31 am on May 23, 2006 (gmt 0)

New User

5+ Year Member

joined:Apr 19, 2006
posts:11
votes: 0


Hi,

I m Ruchir Shah from india.

I know your solution but pls send an email to rpshah1208@yahoo.co.in

I m waiting for your mail

12:03 pm on May 23, 2006 (gmt 0)

Junior Member

10+ Year Member

joined:June 21, 2005
posts:60
votes: 0


If you know my solution, why do you need an email?
2:46 pm on May 23, 2006 (gmt 0)

New User

5+ Year Member

joined:May 17, 2006
posts:20
votes: 0


HttpContext.Current.Response.Status = "301 Moved Permanently"
HttpContext.Current.Response.AddHeader("Location", "/newlocation.aspx")
HttpContext.Current.Response.End()

is the best way to preserve PR with Google etc.

You can also do a response.redirect which sends a "302 Object Moved" header response.

It depends what you are trying to do. There are also other tricks - but it depends what you are trying to do.

 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members