View Full Version : PHP Newbie
I have just recently gotten involved with PHP and i'm wandering how it works in the SE's (ranking).
For example PHP files may use <include footer>
In the footer will have the links.
How do the SE's treat this? Do the links count from the page that included the footer or only from the file footer?
I haven't received any responses and would still like to know how this works.
Maybe i should have asked this way:
How do i optimize a PHP site for the SE's?
kutsarita
07-12-2007, 06:39 AM
scripts and and links are crawlable..
kutsarita, thanks for the reply.
My confusion is when i view a .php file there is hardly anything there, some basic page elements. However, the php script pulls the data to create the page.
So you are saying the Spiders will see the data on that page?
Hi Snap,
Provided your server is working properly the include files will be added on the fly and seamlessly - so will the links there. In other words, Google (or anyone else) have no way of determining whether the links were added manually or using an include script.
Paz, thanks for the info, i finally found something in a php tutorial explaining how that worked.
Does the same go for java scripts?
No javascript's much more difficult. I would assume that if a page is linked via javascript only, then Google won't find/follow it - for some time at least; even if it's SE friendly.
Googlebot browsers have javascript switched off. Having said that, if you have javascript code with with something embedded that's clearly identifiable as a link (say because there's a filename with an .html extension), then that link will be followed and will pass PR. It'll take a long time though.
vBulletin v3.0.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.