http://www.perlmonks.org?node_id=68706


in reply to PerlMonks and Google

Sorry, this is a little off-topic, and not completely original, but interesting (at least to me) nonetheless.

I've done something similar to this: make a dynamic site appear static for the purpose of search engine indexing.

The way I did it was with the creation of each item, output an SSI statement into a file with proper parameters to call the dynamic content:
Example: I have a directory called "/redir/" that has all my SSI files in it. Each file is tiny, and looks something like this:
<!--#include virtual="/cgi-bin/process.pl?action=viewitem&id=97"--> Then each link on my site calls this SSI directive with the name "/redir/97.html". All the links look static but are created when requested because of the SSI trickery.

The "caught in an infinite indexing loop" is important to think about, I don't know how it would be handled on the perlmonks site.

Obviously google does index some dynamic content, as evidenced by jeffa's search above. Do we know how google decides what dynamic content to index? This whole point may be moot.