Lost my PR when going from HTML to PHP

Discussion in 'Search Engine Optimization' started by Chopster, Nov 29, 2005.

  1. #1
    One of my sites had a PR4 and its subpages had PR3.

    I recently went and changed all the file extensions from .html to .php

    Now the front page still has the PR4 ranking, but all the subpages have zero PR.

    Is this typical?
     
    Chopster, Nov 29, 2005 IP
  2. dave487

    dave487 Peon

    Messages:
    701
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Yes, if you change the file extension it is the same as changing the name of the file.

    You should 301 redirect all the old files to the new ones.

    A url rewrite should be able to do this assuming that you have changed page1.htm to page1.php3 and kept the page1 part the same.
     
    dave487, Nov 29, 2005 IP
  3. heapseo

    heapseo Peon

    Messages:
    636
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    0
    #3
    yes, changing the extention is basically creating a new page, which in google's eyes is brand new, hence has no PR. As said above, redirect your old pages to your new ones and the PR should pass on.
     
    heapseo, Nov 29, 2005 IP
  4. ServerUnion

    ServerUnion Peon

    Messages:
    3,611
    Likes Received:
    296
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Note that PR may not pass untill the next PR update though. Might be a better move going back to HTML pages and adding a .htaccess directive to parse them through the PHP engine.
     
    ServerUnion, Nov 29, 2005 IP
  5. Chopster

    Chopster Peon

    Messages:
    628
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Ok, thanks for the info. I'm going to do the URL redirect...
     
    Chopster, Nov 29, 2005 IP
  6. ServiceUptime

    ServiceUptime Peon

    Messages:
    42
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #6
    i think some PR will still be lost as all inner relations on the website will also be changed from html to php. even when you make redirect google will still open html page first and take it as refferer to php page... though for users it is unnoticed google will see that for sure. But you will get you PR back anyway as you got it once. Good luck.
     
    ServiceUptime, Nov 29, 2005 IP
  7. Chopster

    Chopster Peon

    Messages:
    628
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Thanks. I just went and switched them all back to HTML. I saw a drop in my listings in the SERPs and it's just not worth it. All the new pages I add, I'll make sure they are PHP. I just wanted to be able to apply the CO-OP php code to the pages. I think there is a way to do it in HTML anyway.
     
    Chopster, Nov 30, 2005 IP
  8. monRa

    monRa Peon

    Messages:
    462
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    0
    #8
    BAd for you!
    Bots lige .htm!
     
    monRa, Nov 30, 2005 IP
  9. elixir

    elixir Banned

    Messages:
    72
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Use 301 redirect with .htaccess file.

    Read .htaccess tips post, it will help
     
    elixir, Nov 30, 2005 IP
  10. martaay

    martaay Peon

    Messages:
    221
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #10
    has it actually affected your serps? if it hasnt then why bother messing about with 301's the PR will pick itself up again providing all incoming links are to the root not specific pages.
     
    martaay, Nov 30, 2005 IP
  11. my44

    my44 Peon

    Messages:
    722
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    0
    #11
    I thought Google really hates redirecting? Unless we're talking about different "redirect" here. Let me know.
     
    my44, Nov 30, 2005 IP
  12. ServerUnion

    ServerUnion Peon

    Messages:
    3,611
    Likes Received:
    296
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Add the following to your .htaccess and you your site will treate html files as php:

    AddHandler application/x-httpd-php .htm .html
     
    ServerUnion, Nov 30, 2005 IP
    Chopster likes this.
  13. Web Gazelle

    Web Gazelle Well-Known Member

    Messages:
    3,590
    Likes Received:
    259
    Best Answers:
    0
    Trophy Points:
    155
    #13
    Sorry about losing your PR. That is why I keep file names the same once a site has been established. The redirect will help transfer the PR to the new page.
     
    Web Gazelle, Nov 30, 2005 IP
  14. Chopster

    Chopster Peon

    Messages:
    628
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    0
    #14
    Thanks ServerUnion! Sometimes I need it spelled out for me like this. This is good.
     
    Chopster, Nov 30, 2005 IP