Forum Moderators: open

Message Too Old, No Replies

Is index.html or index.php better for SE?

         

CrystalStarLight

12:23 am on Apr 30, 2006 (gmt 0)

10+ Year Member



I'm deciding which kind of page I want for my front page. With php I can update easier and put neat things in but would html be more static thus search engines indexing it better?

Storyman

4:07 am on May 1, 2006 (gmt 0)

10+ Year Member



Why not post the php as html. If you have access to the .htaccess file it's easy to do. Search the PHP forum for specifics.

Sootah

12:06 am on May 6, 2006 (gmt 0)

10+ Year Member



It makes absolutely NO difference for a couple of reasons.

First: A PHP file is parsed on the server end and goes to the end user as nothing but HTML. Take a look at a page that is done in php by clicking "view page source" in your browser. You won't see any PHP code because it all gets interpreted by the server and turned into whatever the developer wanted it to be.

Second: PHP has been out a LONG time. TONS of sites are driven by it, and many other languages. I certianly hope that the engineers are not so stupid that they can't program a crawler to go over a coded site.

The only thing that may be a hinderance is if you use a CMS (Content Management System) that doesn't link to things well.

and article URL looks better to an SE as /article/category/title as opposed to article.php?=a=146. Pretty much all CMS'es now support a good permalink structure.

I'm converting all my sites to TextPattern right now. Static HTML sucks.