Is this at all possible? .php pages 301 --> Windows Server

Discussion in 'Site & Server Administration' started by snoob, Sep 19, 2007.

  1. #1
    Hi

    Sorry if this has been answered already. If so, please point me in the right direction. :)

    Basically, I am trying to 301 the linkjuice of pages from the the old site (.php pages on an apache server) to pages of the new site, which is on a windows server.

    Surely this must be possible!?

    The site is on a CMS (coldfusion) and is a nitemare in SEO terms... (But thats a different thread alltogether!)

    Look forward to your replys.

    Cheers
     
    snoob, Sep 19, 2007 IP
  2. cyanide

    cyanide Peon

    Messages:
    483
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Well, since the old pages are on an apache server, then you can certainly use .htaccess

     
    cyanide, Sep 19, 2007 IP
  3. snoob

    snoob Guest

    Messages:
    33
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    So its that easy? Just use a .htaccess?
     
    snoob, Sep 19, 2007 IP
  4. snoob

    snoob Guest

    Messages:
    33
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Even though its on a Windows Server? And I don't have access to the old server (the hosting plan no longer exists)
     
    snoob, Sep 19, 2007 IP
  5. cyanide

    cyanide Peon

    Messages:
    483
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    0
    #5
    ahhh, you didn't say that. You said the old site was on apache, which is why i gave htaccess instructions.

    So, the old pages are php on windows server, is that right?
     
    cyanide, Sep 19, 2007 IP
  6. cyanide

    cyanide Peon

    Messages:
    483
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Try this php code.
    Put it at the top of the old php pages
     
    cyanide, Sep 19, 2007 IP
  7. snoob

    snoob Guest

    Messages:
    33
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Thought i did mention that:

    Maybe this isn't clear:

    Want to redirect:

    Pages of an old site
    • .php pages
    • used to be on an apache server
    • the hosting plan no longer exists
    • these pages no longer exist

    To the relevant pages of the new site:

    • on a Windows Server
    • the site CMS is programmed in Coldfusion.
    • so the new pages are not php

    Are we on the same page here?

    Cheers
     
    snoob, Sep 19, 2007 IP
  8. cyanide

    cyanide Peon

    Messages:
    483
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    0
    #8
    You said
    (.php pages on an apache server)

    Is php supported on this new windows server?
    If it is, you could use the php script above, but it would mean manually creating all these old pages, It's the only thing I can think of at the moment.

     
    cyanide, Sep 20, 2007 IP
  9. snoob

    snoob Guest

    Messages:
    33
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Thanks for your help.

    I will get the developers to implement and let you know how it goes.

    Cheers
     
    snoob, Sep 23, 2007 IP