Best Solution while migrating the HTM site to PHP with out losing SE ranking

Discussion in 'Search Engine Optimization' started by sophia.l, Nov 14, 2008.

?

Best Option For HTM to PHP Migration

  1. Rewrite the NEW PHP URL as OLD HTM URL

    0 vote(s)
    0.0%
  2. 301 Permanent Redirecting to New Page

    0 vote(s)
    0.0%
  3. Parsing php script in htm page

    2 vote(s)
    100.0%
  1. #1
    Hi every body,

    We are in process of migrating our 100+ pages website from .htm to .php. But we do not want to lose our url’s trailing with .htm since we have good search engine ranking for that. We did some research and found three solutions for this and seeking suggestion from the experts to know which is best.

    1, URL rewriting:
    Rewrite the .php url to .htm.
    Ex: www.example.com/good-ranking.php can be accessed as www.example.com/good-ranking.htm. This way still old url’s will be alive.

    2, 301 redirecting.
    Redirect all the old url’s to new .php url’s by 301 redirection.

    3, parsing php script in htm
    Configuring the apache handler to run php scripts in htm pages. By this way all the php pages will be renamed as .htm and uploaded in the server as it will work with out any hassles. Is there any negative impact of using this?

    If this is the situation for you which option you will use and why?
    Please vote in the pole.
    If your method is not listed here then plz share that with us. Looking forward to hear from all the experts who read this post. Thanks.
     
    sophia.l, Nov 14, 2008 IP
  2. Colbyt

    Colbyt Notable Member

    Messages:
    3,224
    Likes Received:
    185
    Best Answers:
    0
    Trophy Points:
    210
    #2
    Parsing htm as php is the fastest no lost pages or SEO option.
     
    Colbyt, Nov 14, 2008 IP
  3. Mike_Benner

    Mike_Benner Peon

    Messages:
    125
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I also voted for 3.

    Every of your current HTM pages can run PHP scripts within that way and also, HTM pages without PHP will just behave normally.

    Also you have the option use gzip compression for the site this way while still maintaining .htm extension and linking structure.
     
    Mike_Benner, Nov 14, 2008 IP
  4. Colbyt

    Colbyt Notable Member

    Messages:
    3,224
    Likes Received:
    185
    Best Answers:
    0
    Trophy Points:
    210
    #4
    And I guess we both should have said, "Welcome to DP".

    I did not notice it was your first post until I reviewed the thread when Mike posted.

    Be sure to drop over to the Intro section and introduce youself. Reading the forum rules will help you stay out of trouble with future posts.
     
    Colbyt, Nov 14, 2008 IP