301 redirect experts

Discussion in 'Programming' started by The Rock, Aug 7, 2007.

  1. #1
    Hello All,

    I want some urgent help from re-direct functionality experts. I want to redirect some pages of my new website into my old website for some SERP’s purposes. My website is built in asp.net and hosted on Microsoft IIS Server. I don’t want to re-direct whole site I want to re-direct only few pages.

    Note: There is not any WWW or non WWW concern.

    Thanks,
    Rock:)
     
    The Rock, Aug 7, 2007 IP
  2. Spartan_Strategy

    Spartan_Strategy Peon

    Messages:
    197
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I can help thats really easy... Do you host/manage your own server?

    Go to the file and right click on it and within the options you can set a Page level redirect. Hope this helps.
     
    Spartan_Strategy, Aug 7, 2007 IP
  3. Spartan_Strategy

    Spartan_Strategy Peon

    Messages:
    197
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #3
    if you dont host your own server you can do it this way with ASP.net

    ASP .NET Redirect
    <script runat="server">
    private void Page_Load(object sender, System.EventArgs e)
    {
    Response.Status = "301 Moved Permanently";
    Response.AddHeader("Location","http://www.new-url.com");
    }
    </script>
     
    Spartan_Strategy, Aug 7, 2007 IP