I currently use php "includes" and have found it very usefull. Question is, when SE's spider, do they see php code or what the php code outputs?
Main reason I ask, is I've heard people using php for inserting meta tags. I would guess this could be done easily wiht php include and echo'ing the meta info. Or is it done a different way?
So do ALL SE's spiders "see" php code or the output?
search engines do not see php code because it is processed on the server-side.
All web spiders see PHP's output. In fact, no web browser or web spider of any sort can see your PHP code.
Thanks for the replies. Thats what I thought. Getting SE traffic gets tougher each day, sure don't want to mess it up..:)
Hi ronnie, it sounds like you are new to PHP. I hope sitepointforums can give you all the info you need.
I've just implemented PHP generated meta tags in my site now! As you can see, the fact that it is PHP is transparent at the HTTP level, so search engines see what the browser sees, and it looks like individual files.