1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Updating a site w/o losing place in google

Discussion in 'HTML & Website Design' started by IanT, Apr 5, 2010.

  1. #1
    Okay , So I am currently the 3rd site displayed when you look up either "soap making tutorial" or "soap making tutorials" ... I would like to convert the site to include some php, and I am also going to update it and take into account suggestions others have made about reworking the color palette (because it seems to look waaaaaaaaaaaaaaaaay too brown, which I agree....)

    now in order to do the color change, I think Id only need to edit the CSS, so that wont effect or change my position in google,

    But if I were to add some php menu and footer options, Id need to change the front page and every other page from index.html to index.php and thus it would invalidate my link on google? is there any way of converting without any ill effects in the google search? is it even worth converting it to php?? or should I just bite the bullet and try to concentrate on adjusting the color stuff and not so much the formatting?

    thanks
     
    IanT, Apr 5, 2010 IP
  2. ched

    ched Active Member

    Messages:
    185
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    90
    #2
    You can use an .htaccess file to make your server treat html pages as php. i.e. if you change your htaccess file you will be able to use htm or html pages with php in no problems at all. So you wouldnt need to change your page names. Have a google on htaccess and addhandler.
     
    ched, Apr 5, 2010 IP
    jj1 likes this.
  3. IanT

    IanT Well-Known Member

    Messages:
    503
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    130
    #3
    sweet, thank you much for the tip! Going to look into it!! :)
     
    IanT, Apr 5, 2010 IP
  4. jamdung

    jamdung Guest

    Messages:
    51
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    thanks i needed this info
     
    jamdung, Apr 5, 2010 IP
  5. dabzo

    dabzo Peon

    Messages:
    188
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Yep, .htaccess thing works great. I have had to use it. Another option, is to put your new .php pages up there. Then change your 404.shtml to re-direct to your index page. This way all of your old .html files that still have a ranking will re-direct to your new index, before they are dropped form the google cache.
     
    dabzo, Apr 5, 2010 IP
  6. jj1

    jj1 Active Member

    Messages:
    892
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    60
    #6
    ched - thanks very much for that tip. I have been wanting to change htm files to php (in order to add a contact form into each page) but have held back because - even with a 301 redirect - some link juice is still (according to Matt Cutts) lost.
     
    jj1, Apr 6, 2010 IP
  7. damienallen

    damienallen Peon

    Messages:
    21
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Google expects websites to change because most good sites do. I'm sure that you know that PHP is serverside code, however everything that is "visible" to the user (and Google's spiders) is still HTML. I wouldn't worry about something as simple as changing extensions as far as search rankings. What you do need to worry about is broken links which can be fixed with htaccess as suggested.
     
    damienallen, Apr 6, 2010 IP
  8. dabzo

    dabzo Peon

    Messages:
    188
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Makes sense, then yeah, that .htacces is a very useful little file.

    I'm pretty sure this is a tut that will do you some good: http://www.desilva.biz/php/phpinhtml.html
    ...And here is another to keep you reading if you are interested: http://corz.org/serv/tricks/htaccess.php

    As a separate note, having re-directs on your error pages to your index is a handy way to get people where you want them to be.
     
    dabzo, Apr 6, 2010 IP
  9. coreyman

    coreyman Well-Known Member

    Messages:
    307
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    115
    #9
    Or you could set up 301 i beleive permenant redirects from the .HTML to the .php version. the html version will drop from the serps and your php version will take its place.
     
    coreyman, Apr 6, 2010 IP
  10. IanT

    IanT Well-Known Member

    Messages:
    503
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    130
    #10
    i know this is an old thread but im sifting back through old notes, how would i set it up so it would redirect to the php pages from the non-existant html files??
     
    IanT, Jul 11, 2010 IP