Forum Moderators: mack

Message Too Old, No Replies

Will php pages ever get indexed on Google?

I'm using php includes for header, footer and navigation only

         

peterdouglas

1:48 am on Jul 28, 2005 (gmt 0)

10+ Year Member



I made a website back in May. Normally I would make it all in HTML and use the .html file name when saving the pages. However, I just learned how to use php includes, so I used them for the header, footer and navigation. The rest of the content is purely xhtml (NOT database driven).

Despite having several inbound links from sites that are regularly crawled by Google, plus a few directories, I'm not getting indexed by Google. The site is just not coming up, is this because the pages are .php and not .html (even though the content is not in a database. Plus, if you view the source code, everything is there - php includes and content.

It's been almost three months and the site is just not showing up in Google, or any search engine really. I thought I did everything right: used meta tags for keywords, descriptions, etc, submitted it to directories (including dmoz), waited and waited, no buttons were used (all CSS and XHTML). Any ideas?

outrun

2:11 am on Jul 28, 2005 (gmt 0)

10+ Year Member



everything is there - php includes and content.

By that you mean the php output right not actually include("file.inc");?

Naming your files php should not affect whether or not google is indexing your pages or not, one thing you could look at whether or not its adding a php session id at the end of your file or not.

jatar_k

2:16 am on Jul 28, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



good advice outrun

>> Naming your files php should not affect

just to be absolutely clear

it will not make any difference

mack

5:58 am on Jul 28, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Sometimes it can take a while for a new site to appear in Google. 3 months doesn't seam un-reasonable lately.

With reguards to your php pages. This will make no difference at all. php is no more than a scripting language. The output is still html (view source and you will see) :)

Mack.

peterdouglas

11:02 am on Jul 28, 2005 (gmt 0)

10+ Year Member



Hi Outrun, thanks for the reply. Yes, I checked and the output is showing up (and not the "inc"). So I guess I did everything right, just a matter of waiting, or maybe it needs more inbound links. Although I have some sites with fewer inbound links and they're indexed (and were indexed in a matter of days or even weeks).

My biggest fear in starting to use php was that sites wouldn't get indexed. But since the content itself (the headings, paragraphs, etc) are just plain old html (and not coming from a database), it should be fine.

So, the php includes for the navigation, header and footer should be ok? It's no better or worse than if I had just coded it as html? (and you are correct, there are no sessions, nor did I use any javascript - didn't want to risk anything that would harm seo).