How would you convert 200 html pages to php? There's a catch.

Discussion in 'Site & Server Administration' started by jsb, Mar 6, 2008.

  1. #1
    I do not want to lose any ranks, receive any penalties due to duplicate content etc. But I would like to make use of php and the additional benefits it provides.

    Do I change the files to php and use .htaccess to convert all the php files to html again? From what I understand nothing would have changed from the search engines perspective. I'd have php benefits, and wont lose my html page ranks etc.

    Do I change the files to php and perm redirect all old html to their new corresponding php pages?

    I have been wanting to do this for a while, so looking for some tips or a option C? Did I miss something else possibly?
     
    jsb, Mar 6, 2008 IP
  2. Camay123

    Camay123 Well-Known Member

    Messages:
    3,423
    Likes Received:
    86
    Best Answers:
    0
    Trophy Points:
    160
    #2
    Why not configure your htaccess to parse all html file like php and then add the php feature you need in each files ?

    I guess this would be the code:
     
    Camay123, Mar 6, 2008 IP
    kentuckyslone likes this.
  3. RectangleMan

    RectangleMan Notable Member

    Messages:
    2,825
    Likes Received:
    132
    Best Answers:
    0
    Trophy Points:
    210
    #3
    That's what I would do.
     
    RectangleMan, Mar 6, 2008 IP
  4. jsb

    jsb Guest

    Messages:
    100
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #4
    From what I understand, the links will not be broken.
    I'll try this on a test domain this weekend.
    If something breaks I'll be back :).
    Thanks for the help.
     
    jsb, Mar 7, 2008 IP