Results 1 to 7 of 7

Thread: Html vs php

  1. #1
    rob3786 is offline Private Member
    Join Date
    February 2007
    Location
    London
    Posts
    373
    Thanks
    43
    Thanked 17 Times in 12 Posts

    Default Html vs php

    My site is in php and css. I notice many high ranking sites are in html what difference does it make. Shall I change to html?
    Jackpot Avenue- www.jackpotavenue.com

  2. #2
    matted's Avatar
    matted is offline Public Member
    Join Date
    June 2004
    Location
    Durham, NC
    Posts
    2,685
    Thanks
    118
    Thanked 328 Times in 222 Posts

    Default

    I personally feel if you can do PHP or ASP (dynamic content) your site is heads and tails better than most HTML sites. For one, you can 'automatically and regularly' update content better than a HTML page plus, relying on client-side programming (e.g. javascript) has less SEO value and can be quirkier to use.

    My only advice (which I learned a few years ago) is to avoid querystrings to generate content which can be placed on a new page. Avoid querystrings which display drastically different content.

    Just my two cents.
    Owner, Cognitive Powers, Inc.
    Soon to be ex-webmaster
    Facebook, Twitter, and Linked In

  3. The Following User Says Thank You to matted For This Useful Post:

    rob3786 (2 January 2008)

  4. #3
    Join Date
    March 2006
    Location
    Costa Rica
    Posts
    2,092
    Thanks
    140
    Thanked 172 Times in 120 Posts

    Default

    Quote Originally Posted by matted View Post
    I personally feel if you can do PHP or ASP (dynamic content) your site is heads and tails better than most HTML sites.
    I agree. I do php and .asp pages, and they give me the flexibility to integrate other features for each individual page.

    I don't think that the serps give priority to .html vs. php or .asp extensions.
    Keeping your content fresh and unique id the dominating factor for serp placement. (on page seo is also important)..

    Good luck

  5. The Following User Says Thank You to LiveCasinoPartners For This Useful Post:

    rob3786 (2 January 2008)

  6. #4
    ck8795 is offline Private Member
    Join Date
    March 2007
    Location
    Canada
    Posts
    1,005
    Thanks
    3
    Thanked 5 Times in 3 Posts

    Default

    I ahve only used HTML and I dont use java for any part of my payout. Only for analytics. That eing said I have no issues with my sites since I can optimize them as I see fit.

  7. #5
    Simmo! is offline Public Member
    Join Date
    July 2004
    Posts
    893
    Thanks
    239
    Thanked 406 Times in 226 Posts

    Default

    You can actually use PHP but have it spidered as HTML using .htaccess to rewrite the URL if that helps. Personally I dont think the SE's favour any particular extension in SERPs

  8. The Following 2 Users Say Thank You to Simmo! For This Useful Post:

    rob3786 (2 January 2008)

  9. #6
    kwblue's Avatar
    kwblue is offline Private Member
    Join Date
    August 2005
    Posts
    832
    Thanks
    404
    Thanked 679 Times in 262 Posts

    Default

    Yes, Simmo is correct...

    You can also use php IN a .html file by changing your .htaccess with the : AddHandler command.

    Here is an example of an .htaccess file:

    --------------------------------------------------------------------
    RewriteEngine On
    Options +Followsymlinks

    AddHandler application/x-httpd-php .html .php .htm
    --------------------------------------------------------------------


    That will allow you to use php in your .html and .htm files.

  10. The Following 3 Users Say Thank You to kwblue For This Useful Post:

    matted (1 January 2008), rob3786 (2 January 2008), Simmo! (2 January 2008)

  11. #7
    AussieDave's Avatar
    AussieDave is offline Public Member
    Join Date
    November 2005
    Location
    from the land downunder
    Posts
    4,302
    Blog Entries
    1
    Thanks
    1,805
    Thanked 2,078 Times in 1,190 Posts

    Smile

    Quote Originally Posted by Simmo! View Post
    You can actually use PHP but have it spidered as HTML using .htaccess to rewrite the URL if that helps. Personally I dont think the SE's favour any particular extension in SERPs
    good points Simmo!

    The SE's used to have issues with crawling urls like:
    index.php?f=1&sid=71994f6db6b780a0c93bee701774af4a

    However these days it's not an issue.

    If your using a GPL script EG a forum or CMS for example you'll find most have add short URL capabilities to the back-end preferences.

    Any custom work using dynamic extensions and this shouldn't be an issue as you'd be using short URL's anyway.


    Cheers



    Dave
    ---
    Compliance: a code word for control

    ---
    Do the right thing, even when no one is looking. It's called integrity.
    ---

Posting Permissions

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