Redirecting to a New URL in SharePoint 2010: Part 2

In my previous article “Redirecting to a new URL in SharePoint 2010”, we saw an approach to quickly save yourself from escalation but on a deep side in the server let’s see how to redirect the incoming URL to a new URL in SharePoint.

  • Go to the server where your site is hosted

  • Go to Start

  • Click on Run

  • Type inetmgr

  • The following screen will open

  • You can see Sites on the Connections tab

  • Click on Sites

  • You will be able to preview the entire Internet Manager. Under the IIS category we have the following two options:

    1. HTTP Redirect
    2. RL Rewrite

These two options will similarly redirect the sites to a new location. Let’s see how It can be done.

http redirect and url rewrite

  1. HTTP Redirect
                                                                                  http redirect
    Here using this approach we just need to configure the fields below where, when a URL is called, the following URL configured will open.

    You need to enter the URL in Redirect requests to this destination wnd check the box.

    You also have two options to configure the redirect behaviour.

    First you can redirect all requests to an exact destination, even to a relative one.

    Secondly only redirect requests to content in this directory with the status codes Permanent, Temporary and Found.

    http redirect page

  2. URL Rewrite
                                                                                     url rewrite
    The next option we have is URL Rewrite where, when the URL is connected, if it matches the configured URL it will redirect to the new URL.

    It helps you to configure them directly as well as using queries.

    Let’s see how it is done.

    • Click on the URL Write, you will see the sites under the connection made.

    • Since I have only one site, click on the site’s folder.

      url rewrite page

    • Here you can assign the URL you want to match when a user opens the response.

    • If it matches the pattern, It will generate the action like for redirecting the action type will be redirect and it will redirect to the URL mentioned.

      edit inbound rule

So this is how we have two options to redirect through the server connections.

Keep Learning!

Cheers..

<< Redirecting to a New URL in SharePoint 2010- Part 1

Up Next
    Ebook Download
    View all
    Learn
    View all