Try Now
More in this section

Forums / Set-up & Installation / how to redirect to new host name

how to redirect to new host name

2 posts, 0 answered
  1. Priya Ramesh
    Priya Ramesh avatar
    26 posts
    23 Jul 2009
    28 Jun 2010
    Link to this post
       How do I redirect to a new host name? For example our site is going to be moved to www.newsite.com .Third party providers refer to us as www.oldsite.com/page.aspx. Is there a way in sitefinity to change the request to www.newsite.com/page.aspx .Can I do it through URL rewriting?

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    25 Oct 2016
    29 Jun 2010
    Link to this post
    Hello Priya Ramesh,

    You can create HttpModule or HttpHandler and inside BeginRequest you can check from where the request comes from and make a proper redirect.

    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered