Results 1 to 4 of 4

Thread: How do I do a 301 redirect on MS Hosted site

  1. #1
    Join Date
    Aug 2007
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How do I do a 301 redirect on MS Hosted site

    Hi,
    I have two websites hosted using 1&1 MS Business package. I'm trying to find a way to 301 redirect a large number of HTML pages from one site to the other. As the hosting service I have is Windows based, htaccess files won't work. Any ideas anyone?

    Thanks

  2. #2
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    There should be something in the control panel; however, I'm not familiar with 1 & 1. Your best bet would be to ask the host what options you have available.

    Hope this helps.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  3. #3
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,033
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default

    You can redirect using a php script - this should help: http://masbuchin.com/301-redirect-with-php.htm

  4. #4
    Join Date
    Aug 2007
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi,
    Unfortunately I have MS hosting which does not support PHP or .htaccess files. It does support ASP scripts however and I have seen some code that says it will do a 301 redirect but I'm not sure how I fit this into a .htm document to get it to work. The code is -

    <%@ Language=VBScript %>
    <%
    Response.Status="301 Moved Permanently"
    Response.AddHeader "Location","http://www.scottish-folk-music.com/clubs.htm"
    %>

    Any help would be appreciated.

    Thanks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •