Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

301 Redirect IIS

Options
  • 05-06-2009 9:40am
    #1
    Registered Users Posts: 128 ✭✭


    Hello,

    Ok so this is the scenario..
    Have a website www.abc.ie on server A.

    This site is in the process of being redesigned and shortly it will be deployed on server B and server A will be switched off.

    Now I want all old URL's to be redirected to its equivalent URL on the new site.

    For example:
    www.abc.ie/products/default.aspx?pno=25

    should now be mapped to..

    www.abc.ie/product/category/p-25-new-typing-machine.aspx

    Anyone any idea on how I might go about this?

    Thanks in advance for your help.
    Fiona


Comments

  • Registered Users Posts: 4,780 ✭✭✭JohnK


    Two options really, either a custom 404 page that looks at the existing URL and where its a valid old-style URL send to the new one with a 301 or do some URL rewriting. Maybe have a read off of this and see if it would suit you: http://msdn.microsoft.com/en-us/library/ms972974.aspx


Advertisement