php vs html for SEO

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Dawgy
    Confirmed User
    • Jul 2001
    • 5856

    #1

    php vs html for SEO

    simple question

    i have a choice of doing a site in php/mysql or static html

    either way actually works out to about the same amount of time setting up the site, maybe just a bit more work on the static html option for future updates, but not that much.

    so my question is, which would be best for SEO?

    i think the answer is obvious, but i just wanted some other opinions before i spend the next 2 days knee deep in code
    the revolution is coming.
  • Lane
    Will code for food...
    • Apr 2001
    • 8496

    #2
    you can run php as .html extension, so from an SE spider point of view it wouldn't look any different than a static page.


    now where is my money?

    Comment

    • hyper
      Confirmed User
      • Mar 2002
      • 5294

      #3
      i used url rewriting for my php in .htaccess so i can set my links to .html but it actually goes to .php



      everything was spidered in google but not inktomi

      Comment

      • arial
        Confirmed User
        • Jul 2002
        • 4012

        #4
        PHP is god.

        Comment

        • Kingfish
          Confirmed User
          • Sep 2002
          • 668

          #5
          php doesn?t spider as well as plain html. If you are building your site for SE hits then html is the only way to go.

          Comment

          • FATPad
            Confirmed User
            • Oct 2001
            • 6693

            #6
            Originally posted by Lane
            you can run php as .html extension, so from an SE spider point of view it wouldn't look any different than a static page.


            now where is my money?
            This is exactly right.

            Setup your server to parse html files for php code. It'll show as a .html file, but it'll be dynamic content. Best of both worlds.
            <a href="http://www.adultcontent.co.uk">Adult Content UK - Great British Content</a>

            Comment

            • hyper
              Confirmed User
              • Mar 2002
              • 5294

              #7
              Originally posted by hyper
              i used url rewriting for my php in .htaccess so i can set my links to .html but it actually goes to .php



              everything was spidered in google but not inktomi
              thats why i did the url rewriting and now i am in all search engines

              Comment

              • - Jesus Christ -
                Confirmed User
                • Mar 2003
                • 7197

                #8
                In terms of google. Freshbot will not list files with the .PHP extention other than that and links with more than 2 variables in them there is no problem.

                Amen

                Comment

                • $5 submissions
                  I help you SUCCEED
                  • Nov 2003
                  • 32189

                  #9
                  html for the pages BUT for generating link to's either use a desktop app or php script. Also, readable keyword patterns are key.

                  Comment

                  • ModelPerfect
                    Confirmed User
                    • Nov 2003
                    • 2862

                    #10
                    Does the same apply for .asp?
                    Logan
                    modelperfect [at] gmail.com
                    http://www.modelperfect.com

                    (Proudly hosted at www.webair.com )

                    Comment

                    • - Jesus Christ -
                      Confirmed User
                      • Mar 2003
                      • 7197

                      #11
                      Originally posted by ModelPerfect
                      Does the same apply for .asp?
                      yes all extentions associated with nonstatic content are treated differently by SEs

                      Amen

                      Comment

                      • camsource
                        Registered User
                        • Nov 2003
                        • 233

                        #12
                        I would stick with HTML

                        Comment

                        • ModelPerfect
                          Confirmed User
                          • Nov 2003
                          • 2862

                          #13
                          Originally posted by - Jesus Christ -
                          yes all extentions associated with nonstatic content are treated differently by SEs
                          Hmm. I use .asp on my index page. Bad move, huh?
                          Logan
                          modelperfect [at] gmail.com
                          http://www.modelperfect.com

                          (Proudly hosted at www.webair.com )

                          Comment

                          • - Jesus Christ -
                            Confirmed User
                            • Mar 2003
                            • 7197

                            #14
                            Originally posted by ModelPerfect


                            Hmm. I use .asp on my index page. Bad move, huh?
                            well if the page is accessed via "http://blah.com/" then no the bot will not be able to tell unless your apache is set to diliver the content type via headers.

                            Amen

                            Comment

                            • WiredGuy
                              Pounding Googlebot
                              • Aug 2002
                              • 34517

                              #15
                              Originally posted by Dawgy
                              simple question

                              i have a choice of doing a site in php/mysql or static html

                              either way actually works out to about the same amount of time setting up the site, maybe just a bit more work on the static html option for future updates, but not that much.

                              so my question is, which would be best for SEO?

                              i think the answer is obvious, but i just wanted some other opinions before i spend the next 2 days knee deep in code

                              I answered this to you over ICQ. This was the thread you were referring to right?

                              WG
                              I play with Google.

                              Comment

                              • ModelPerfect
                                Confirmed User
                                • Nov 2003
                                • 2862

                                #16
                                Thanks...
                                Logan
                                modelperfect [at] gmail.com
                                http://www.modelperfect.com

                                (Proudly hosted at www.webair.com )

                                Comment

                                • Dugan
                                  Confirmed User
                                  • Nov 2003
                                  • 856

                                  #17
                                  Originally posted by Kingfish
                                  php doesn?t spider as well as plain html. If you are building your site for SE hits then html is the only way to go.
                                  if your server is fast enough, and your script is clean enough, it shouldn't take more time to load the php page than html, other than that i don't see it making a difference on spidering

                                  Comment

                                  Working...