I am reasonably familiar with how static html pages and images get indexed by the search engines...
But I do not understand how images and html that are dynamically generated by php get indexed.
Will images, captions, etc. within Gallery get indexed by the search engines? If so, how does this work? Is there an FAQ on how enhance search engine indexing?
TIA
Salem Kayaker
Posts: 2322
If you're using the mod_rewrite functionality in Gallery, then search engines should index the images.
Search engines avoid anything that *looks* like it's generated (Pages with lots of query modifiers, such as Gallery uses when mod_rewrite is disables), but it will index Gallery because each image page looks like a directory/default index.
Posts: 27
My instance of Gallery was installed/configured by a Fantastico script set up by my hosting service (i.e. I don't know exactly what was configured).
How do I tell whether mod_rewrite is enabled in my implementation?
And what would be involved in getting it enabled if it isn't currently?
TIA
SalemKayaker
Posts: 3236
If your url looks like "http://domain.com/gallery/name_of_an_album/ then you are using mod_rewrite. If it doesn't, you aren't.
Posts: 27
OK, my url for an album looks like:
http://salemdesign.com/stockphotos/view_album.php?set_albumName=Boston
So I presume that means I am not using mod_rewrite.
How does one implement mod_rewrite?
TIA
Salem Kayaker
Posts: 27
As it turns out, mod_rewrite is an Apache module and has to be enabled globlally by somebody with root priviledges.
My hosting service has mod_rewrite enabled on all their Apache servers so that's not an issue and it (should be) is just a matter of enabling rewrite within Gallery.
So, I enabled "rewrite" in the Gallery config.php and tried navigating in Gallery. It failed miserably. It turns out that the Fantastico install script for Gallery had not correctly set up the rewrite mechanism.
So we had to check with the folks that develop Fantastico. Fortunately, they had already fixed the problem (which was general to more app's than just Gallery) and were issuing a new Fantastico build.
My hosting service implemented the new Fantastico build, I uninstalled and reinstalled Gallery, and rewrite now works.
--SalemKayaker