Forum Moderators: mack
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?
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.
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).