1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

is changing php to html also a URL change?

Discussion in 'Black Hat SEO' started by aussiejack, Sep 30, 2015.

  1. aussiejack

    aussiejack Regular Member

    Joined:
    Sep 23, 2014
    Messages:
    493
    Likes Received:
    62
    Hi folks

    I want to resurrect an old site and maintain the URL structure. This old site was php. Unfortunately I only have a html version of this site.

    Will the change from php to html be considered as a change of URL structure? I want to avoid that of course to preserve the ranking and link juice.

    For example I go from domain.com/city ------> domain.com/city.html
     
  2. aussiejack

    aussiejack Regular Member

    Joined:
    Sep 23, 2014
    Messages:
    493
    Likes Received:
    62
    anyone knows the answer?
     
  3. Nonilol

    Nonilol Elite Member

    Joined:
    Mar 1, 2015
    Messages:
    1,645
    Likes Received:
    559
    Gender:
    Male
    Occupation:
    Media Informatics & Webdev Student
    Location:
    Hamburg, GER / Southampton, UK
    Home Page:
    I don't know the answer, but why don't you simply rename all files from html to php?
    Wouldn't that be the easiest way to do that?
     
  4. aussiejack

    aussiejack Regular Member

    Joined:
    Sep 23, 2014
    Messages:
    493
    Likes Received:
    62
    Is it possible just to remove the .html ending?
     
  5. Ste Fishkin

    Ste Fishkin BANNED BANNED Jr. VIP

    Joined:
    May 14, 2011
    Messages:
    2,058
    Likes Received:
    5,007
    If the old url has .php and you change it to .html it will count as a url change....

    However, just name it .php - HTML will run fine like this and theres not link change.

    If you want to get rid of .php or .html you need to alter your .htaccess file with a rewrite rule.
     
    • Thanks Thanks x 1
  6. Penumbra

    Penumbra Power Member

    Joined:
    Apr 23, 2014
    Messages:
    742
    Likes Received:
    225
    Location:
    Antarctica
    If its index file than it will be same.
     
  7. Nonilol

    Nonilol Elite Member

    Joined:
    Mar 1, 2015
    Messages:
    1,645
    Likes Received:
    559
    Gender:
    Male
    Occupation:
    Media Informatics & Webdev Student
    Location:
    Hamburg, GER / Southampton, UK
    Home Page:
    php files support html code, so yeah, just change it to .php and you'll be fine