ASP.NET MS IIS - Site to Site Redirecting !!

Discussion in 'Site & Server Administration' started by Marx, Mar 25, 2009.

  1. #1
    Hey

    I am moving a whole domain (site) into to a category of another site.

    The site has loads of pages, so settign up redirect for each page to the new correspondong page would be far to labour intensive.

    I was told you can create some kind of server side script that could detect the page that the user was trying to access then redirect them to the bets page of the new site (application level redirect script)

    Does anyone know how this is done and what are the requirements for this to be done, sure the site or url variables have to be identical on both sites ?

    Marx
     
    Marx, Mar 25, 2009 IP
  2. MayurGondaliya

    MayurGondaliya Well-Known Member

    Messages:
    1,233
    Likes Received:
    38
    Best Answers:
    0
    Trophy Points:
    170
    #2
    This should be possible using rewrite rules. Moreover, if you are using master pages for all your asp.net pages then it is possible to code this.
     
    MayurGondaliya, Mar 26, 2009 IP