By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,299 Members | 1,347 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,299 IT Pros & Developers. It's quick & easy.

How is a PHP (.php) or JavaScript web site spidered by search engines?

P: n/a
I know that with a web site which is simply .html web pages, it is easy
for a bot to spider it and follow links. What about those web sites
written in .php or Javascript? How does its content get into search
engines when spidered? Does it do a simple GET of the web page and not
execute content? Thanks!

Jul 11 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a

eastcoastguyz wrote:
I know that with a web site which is simply .html web pages, it is easy
for a bot to spider it and follow links. What about those web sites
written in .php or Javascript? How does its content get into search
engines when spidered? Does it do a simple GET of the web page and not
execute content? Thanks!
PHP outputs HTML.. the bot sees the page as any normal user would, for
example in your browser click view/source on an html page and dito on a
php page. Webservers never allow bots or browsers to see your
unexecuted php.. with javascript, the bot spiders the whole lot, same
as html code, the bot knows what part of javascript code is visible on
the page to the user and which is not.

Flamer.

Jul 11 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.