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

HTML to php - How to get Google to realize the change?

Discussion in 'Black Hat SEO' started by Ramsweb, Mar 15, 2011.

  1. Ramsweb

    Ramsweb Senior Member

    Joined:
    Mar 31, 2010
    Messages:
    1,121
    Likes Received:
    658
    Occupation:
    Internet Marketer - Self Employed
    Location:
    In front of my PC
    Hello all

    I recently had a basic 6 page HTML site converted to a E-Commerce PHP site with over 150 pages when you count in all the shopping cart pages, individual product pages etc..

    Google has crawled my site recently but has indexed only the HTML pages that I built links to. How do I carry out further backlinking??? as in, should I build links to index.php or my domain name as in xxx.com.

    Also, how can I get Google to crawl all the php pages. Any help will be greatly appreciated.

    Thanks
    Ramsweb
     
  2. Cookie Monster

    Cookie Monster Registered Member

    Joined:
    Mar 10, 2011
    Messages:
    67
    Likes Received:
    1
    Location:
    bulbi
    If you want to get better results fot the mainpage make the links with you domain. If you want some subpages to rank better, add the link from the subpage...:eek:
     
  3. Ramsweb

    Ramsweb Senior Member

    Joined:
    Mar 31, 2010
    Messages:
    1,121
    Likes Received:
    658
    Occupation:
    Internet Marketer - Self Employed
    Location:
    In front of my PC
    Dude..how much of my post did you really read?
     
    • Thanks Thanks x 1
  4. shadowedsniper

    shadowedsniper Junior Member

    Joined:
    Aug 15, 2008
    Messages:
    168
    Likes Received:
    100
    Google will catch on eventually... Just make sure you're linking to the proper pages throughout your site and in your xml sitemap submitted to GWT.

    Since index.php is your index file, linking to it and xxx.com are the same thing but I wouldn't want xxx.com/index.php showing up for my site in google or any other search engine so whenever I do backlinking, internal or external, I never add index.php onto my links.
     
    • Thanks Thanks x 1
  5. johnniew

    johnniew Jr. VIP Jr. VIP Premium Member

    Joined:
    Jun 12, 2009
    Messages:
    182
    Likes Received:
    165
    if you use webmaster tool, just create a sitemap xml and submit it to go0gle all your pages will get index in no time..
     
    • Thanks Thanks x 1
  6. lexblast

    lexblast Junior Member

    Joined:
    Jan 5, 2011
    Messages:
    118
    Likes Received:
    25
    Ramsweb, believe it or not influxes of a great deal of content can almost be bad sometimes. Don't worry to much about everything getting indexed right away. The more gradual the better. In other words, don't force internal linking to pages that dont appear to be indexed to try to have bots cover more ground. Just do links that best suit visitors and you will get more mileage in the long run.
     
    • Thanks Thanks x 1
  7. Autumn

    Autumn Elite Member

    Joined:
    Nov 18, 2010
    Messages:
    2,197
    Likes Received:
    3,041
    Occupation:
    I figure out ways to make money online and then au
    Location:
    Spamville
    If you have already built existing backlinks to your .html pages, then keep those pages with the .html extension - don't change them to .php. G will perceive the .html and the .php versions to be two completely separate urls.

    You can tell apache to parse .html pages for php code by adding these line to your .htaccess file:

    Code:
    AddType application/x-httpd-php .htm .html
    AddHandler x-httpd-php  .htm .html
    
    Also, in general you should never link to your index.html or index.php file directly. You're better off linking to the subdirectory with the trailing slash - ie. link to http://www.domain.com/ rather than http://www.domain.com/index.php. That way, you can change your index file (.htm to .html to .php) with impunity, and all your backlinks will point to the right place. domain.com/index.html and domain.com/index.php are two separate urls, with separate backlinks.
     
    • Thanks Thanks x 1
    Last edited: Mar 15, 2011
  8. Ramsweb

    Ramsweb Senior Member

    Joined:
    Mar 31, 2010
    Messages:
    1,121
    Likes Received:
    658
    Occupation:
    Internet Marketer - Self Employed
    Location:
    In front of my PC
    Thank you guys for your replies. A big thanks to Autumn for your very detailed reply. I have given rep for all :)