Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

The Google Forum


You are currently viewing our The Google Forum as a guest. Please register to participate.
Login



Closed Thread
Old 06-28-2004, 12:05 PM can google read PHP?
johanesw's Avatar
Extreme Talker

Posts: 174
Location: If I told you that, I'm afraid I'd have to kill you!
Trades: 0
Hi everyone! I have something bothering me in my mind. My website is generated dynamically using PHP, all the links are linking to my index.php but they have different id. Every id contains different page. My website goes like this: index.php contains the template and in the content section, it will include another file: id.php. I'm wondering if google can detect this and crawl the file included using php. Does any of you know?? If not, can mod_rewrite somehow fix this problem? Thanks
__________________

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE
johanesw is offline
View Public Profile Visit johanesw's homepage!
 
 
Register now for full access!
Old 06-28-2004, 01:00 PM
Average Talker

Posts: 19
Trades: 0
Yes Google has no problems indexing dynamic files eg.

somesite.com/index.php?id=4&foo=Some%20Page

but may limit the amount of pages it indexes on your site due to them.

A good way to fix this is to use mod_rewrite.
__________________
-

Please login or register to view this content. Registration is FREE
gooner is offline
View Public Profile
 
Old 06-28-2004, 01:00 PM
Kyrnt's Avatar
The Post-Mod Years

Posts: 2,536
Location: Western Maryland
Trades: 0
If you have links on your main page which have hard-coded links such as index.php?id=index, then Google should follow it.
__________________
—Kyrnt
Kyrnt is offline
View Public Profile Visit Kyrnt's homepage!
 
Old 06-28-2004, 01:51 PM
johanesw's Avatar
Extreme Talker

Posts: 174
Location: If I told you that, I'm afraid I'd have to kill you!
Trades: 0
Yes...I have lotsa links in my index.php which links to the ids....so google can actually follow PHP includes?
__________________

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE
johanesw is offline
View Public Profile Visit johanesw's homepage!
 
Old 06-28-2004, 02:46 PM
dems's Avatar
Skilled Talker

Posts: 72
Trades: 0
on my site, google would follow a few of my dynamic links but not all. implement the mod_rewrite that gooner recommended. its really not that difficult. this is the solution if you want no 'if's and's and but's' that google is gonna crawl your whole site.

btw... after i started using mod_rewrite, ALL my pages moved up signifigantly (and my pr went up a notch on most of the site... not that it matters).

good luck!
dems
dems is offline
View Public Profile
 
Old 06-28-2004, 03:15 PM
Skilled Talker

Posts: 84
Trades: 0
supposidly Google can only see up to 3 variables.
__________________

Please login or register to view this content. Registration is FREE
web-Inspect is offline
View Public Profile
 
Old 06-28-2004, 06:07 PM
Novice Talker

Posts: 7
Trades: 0
Guys hi! i also have a website that the pages are created dynamically. I read a bit about mod rewrite but i find it difficult to understand.
My pages look like http://www.soccerboards.com/results_detail.php?l=1.
Is there a way without changing my php code, to make it search engine friendly? something like http://www.soccerboards.com/results_detail.php/1

Thanks in advance
stathis is offline
View Public Profile
 
Old 06-28-2004, 10:03 PM
cmonkey's Avatar
Ultra Talker

Posts: 268
Trades: 0
the only thing you really have to worry about is sessions, google will not follow a link with variables attached if a session has been started because that session id will automatically be attached to the link.

try and make your variable names something that makes sense. For example, complete words such as chapter=1 instead chpt=1, that may also help with keywords too if those variables are hard-coded into the page.

Check out this article for more info:
http://www.stargeek.com/php-seo.php
cmonkey is offline
View Public Profile
 
Old 07-01-2004, 06:20 AM
johanesw's Avatar
Extreme Talker

Posts: 174
Location: If I told you that, I'm afraid I'd have to kill you!
Trades: 0
yeah...mod_rewrite is pretty easy to use. but my site only has one variable, so i guess it's ok
__________________

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE
johanesw is offline
View Public Profile Visit johanesw's homepage!
 
Old 07-05-2004, 11:08 AM
marengo's Avatar
Average Talker

Posts: 20
Trades: 0
My 1st post here

I am making a new site and I use Indexu.
So all links aren't SE friendly
Something like
http://www.bestcatalog.net/browse.php?cat=5892675

Today I modified my .htaccess:
Code:
RewriteEngine On
RewriteRule ^category(.*).html browse.php?cat=$1
RewriteRule ^detail(.*).html detail.php?id=$1
RewriteRule ^cat_more(.*)-(.*).html browse.php?cat=$1&pg_which=$2
so now I can use
http://www.bestcatalog.net/category5892675.html
http://www.bestcatalog.net/cat_more57927-2.html
http://www.bestcatalog.net/detail2116.html

But visitors see http://www.bestcatalog.net/browse.php?cat=XXX and I am not too good with php, so I can not re-write my code...

Do you think Google will index my pages? Or RewriteEngine On doesn't enough?

Thank you,
Nat
__________________

Please login or register to view this content. Registration is FREE
marengo is offline
View Public Profile Visit marengo's homepage!
 
Old 07-08-2004, 01:02 PM
Average Talker

Posts: 26
Trades: 0
>>Do you think Google will index my pages? Or RewriteEngine On doesn't enough?

Sure!
__________________

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE
rocos is offline
View Public Profile
 
Old 07-17-2004, 05:17 AM
marengo's Avatar
Average Talker

Posts: 20
Trades: 0
Now I can say "sure" cause I've modified my code too
http://www.bestcatalog.net/category508673.html
http://www.bestcatalog.net/detail3151.html
http://www.bestcatalog.net/cat_more527621-2.html etc...

One "SEO guy" said me modification of .htaccess doesn't enough. Waiting for Google now

Nat
__________________

Please login or register to view this content. Registration is FREE
marengo is offline
View Public Profile Visit marengo's homepage!
 
Closed Thread     « Reply to can google read PHP?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.34499 seconds with 12 queries