PHP and search engines...

Posted on 2006-03-29
Medium Priority
Last Modified: 2010-04-27

I would like to know a definitive answer to something...Although I know I am dealing with search engines so this is not liable to happen but as close as one can get will be good.
I have told my client that:

It would be a little stupid on their part if they did not because it would mean that they ignore most of the dynamic sites all over the
 world! Just enter the following in a Google search prompt:
 'giftofpoetry toc'
The second result it displays will be our 'toc.php' file, which proves that it indexes the php file and if it indexes toc.php, it will index  all html links that it finds on toc.php, too.  The only restriction that is rumoured that search robots don't like the php pages with  complicated parameter lists - like:


But they have no problem with simple php files like the toc.php,  poems1.php, searches13.php, etc.

Now my client belives I am missing the point...he says if you search for ' giftofpoetry '. You will find around 450 pages listed. There are now over 17,000 pages on the site but none are being picked up because (I believe) of the two levels of php Google has to go through to find the html files.

Can anyone help solve the argument...
Question by:wood1e

Expert Comment

ID: 16322064
Although i do not advice my clients to go for url like abc.php?xyz=123, i do not think that makes a lot of difference anymore.

if you stick to the basics then everything should be fine.

Example search for alexa rank booster on google.com and you will find the top two having '?' in them.

The 6th one is the same.



Author Comment

ID: 16322122
Many thanks for that...I think there is another problem, but best not say on open forum...:)
LVL 12

Expert Comment

ID: 16330985
With respect to


You could have a look at URL re-writing (or ModRewrite in apache)

see here for info on mod rewrite.

if you re-write the url to something more like
from : index.php?method=something&list=anything&id=6354
to : index-something-more-friendly.php

the search engine shouldnt mind that.

Hope this helps

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Expert Comment

ID: 16333731
Ok, it's important to note the difference between Google not indexing your pages, and Google failing to determine relevancy of your pages.

To see what pages of your site Google has indexed, type "site:www.yoursite.com" in the search window (where www.yoursite.com is your domain).  This will produce a list of all the pages on your site that Google  has found.  If there are pages that exist on your site that Google has not found, then that's one issue that needs to be addressed.  If Google knows that your pages exist but isn't associating them with your keywords, that's something else entirely.

LVL 10

Expert Comment

ID: 16338368
Hi Wood1e,

"Now my client belives I am missing the point...he says if you search for ' giftofpoetry '. You will find around 450 pages listed. There are now over 17,000 pages on the site but none are being picked up because (I believe) of the two levels of php Google has to go through to find the html files."

Something is obviously stopping the spiders from fully indexing your pages.  That's a lot of pages not indexed from 450 to 17,000.

I would compare those pages successfully indexed with some similar pages not indexed and see if anything jumps-out at you at being different.  Look at your HTML code.  

I looked at your site, and you could be right that is has something to do with the two levels of php Google has to go through to find and read your html files.

Good Luck!



Author Comment

ID: 16339844
The thing is it is picking up
www.giftofpoetry.com/links/gifts-keepsakes.html when you search on www.giftofpoetry.com

ANd when you search site:www.giftofpoetry.com/toc.php it picks up that page....which then has a muiltide of links of it...but those pages are only picked up when I search for thiose specific pages...http://www.giftofpoetry.com/poems2.php for example. Only one is picked up by the site search and that is www.giftofpoetry.com/poems0.php  so Google knows about the thousands of pages, but is not connecting with or showing all the thousands..
So I am not sure the two level siuation is the problem otherwise www.giftofpoetry.com/poems0.php would not be the first result...Maybe I am rambling but it all seems odd...unless they have done the client for duplication.

Accepted Solution

esw074 earned 2000 total points
ID: 16342439
Ok, look at your TOC page from the Googlebot perspective.  There's no content on it, and there's no meaningful link text (just a bunch of links like "1401-1500", "1501-1600").  Then those pages link to numbered "searches" pages which look like you're keyword spamming.


Featured Post

[Video] Create a Disruption-Free Workspace

Open offices have their challenges. And Sometimes, it's even hard to work at work. It's time to reclaim your office and create a disruption-free workspace. With the MB 660, you can:

-Increase Concentration
-Improve well-being
-Boost Productivity

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We aren’t perfect, just like everyone else.  Check out the email errors our community caught and learn the top errors every email marketer should avoid.
Over time, the online landscape has altered considerably, but that’s nothing compared to the up-and-coming trends that will shape the web design industry in the coming year. Keep reading to find out which trends will shape B2B web design in 2018.
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
Suggested Courses
Course of the Month14 days, 23 hours left to enroll

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question