Results 1 to 8 of 8
  1. #1
    Newbie sixeden's Avatar
    Join Date
    November 29th, 2006
    .PHP pages versus .HTML pages?
    Hi everyone,

    I've been working with a developer and my site is almost done. The thing is that the pages on my site will all end in the .PHP extension.

    This developer assures me that the search engines will not have a problem with indexing a PHP page, but I have my doubts.

    Can anyone provide some advice on this?

    I was thinking of duplicating the pages, having them as static HTML pages that would redirect to the PHP landing page.

    Technically, the site will all just be one page, because once the site loads, all the other links and content will work through AJAX, so there won't be any actual page refreshes.

    Any comments and such will be greatly appreciated.

  2. #2
    Roll Tide mobilebadboy's Avatar
    Join Date
    January 18th, 2005
    Mobile, Alabama
    Your developer is absolutely right. PHP, HTML, ASP, SHTML, it doesn't really matter what the extension is.

    Same with Yahoo, MSN and most search engines. There are millions of sites with .php extensions, .asp extensions, etc. Some sites make up their own extensions and they get indexed fine as well.

    Shawn Kerr (.com) | Disney World | SEC Football

  3. #3
    Affiliate Manager
    Join Date
    September 10th, 2006
    what mobilebadboy said, it would not really matter to the SEs, if you would however rather that your pages show a .htm extention, that can be done by putting one line in your .htaccess file (if you are using apache as your server), and all your .htm files will parse php code.

    RemoveHandler .html .htm
    AddType application/x-httpd-php .php .htm .html
    Join The [B][URL=][/URL] [/B] Affiliate Program on SAS - [B]10% on sales , Unlimited cookie, over 15,000 products in datafeed![/B]
    [URL=]Gift Ideas[/URL]

  4. #4
    Join Date
    December 12th, 2006
    I once created a site that had hundreds of html pages because I thought the search engines prefered html, it was so hard to manage. Then I ended up changing everything to php which was even more work. So my suggestion is to just go with php

  5. #5
    notary sojac Herb ԿԬ's Avatar
    Join Date
    January 18th, 2005
    Central/Western NY State
    with that code above and a slight change, you could have .pdq extensions if you wanted.

  6. #6
    Affiliate Manager MINDsprinter's Avatar
    Join Date
    August 18th, 2006
    Washington, DC
    php shouldn't matter, but watch those query parameters and AJAX javascript stuff. If you have too many parameters SE's have trouble. Same goes for AJAX navigation. Make sure you have a sitemap with real HTML links so SE's can get to all your pages.
    Jason Rosenbaum
    Affiliate Manager

  7. #7
    Lite On The Do, Heavy On The Nuts Donuts's Avatar
    Join Date
    January 18th, 2005
    Winter Park, FL
    Read this whole thread:
    "Building UNIQUE autoupdating bulletproof datafeed sites that sell"
    posted by Dirk Gardner

    the stuff you're looking for starts around post #44 in that thread...

  8. #8
    Newbie mode365's Avatar
    Join Date
    January 9th, 2007
    No worries. Llike many users agree here, there is no need to worry.

  9. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. Using PHP (or JS) on .htm or .html pages
    By webworker in forum PopShops
    Replies: 42
    Last Post: September 18th, 2011, 11:09 AM
  2. Repairing HTML pages
    By in forum WebMerge (
    Replies: 7
    Last Post: March 30th, 2007, 05:01 PM
  3. PHP on .HTML - .SHTML Pages
    By AddHandler in forum Programming / Datafeeds / Tools
    Replies: 11
    Last Post: April 16th, 2005, 07:52 PM
  4. Making .html pages be parsed as .php
    By ~Michelle in forum Programming / Datafeeds / Tools
    Replies: 7
    Last Post: June 6th, 2004, 08:20 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts