do Gallery images get indexed by google, yahoo, msn, etc?

SalemKayaker

Joined: 2004-12-25
Posts: 27
Posted: Tue, 2004-12-28 05:22

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

 
signe
signe's picture

Joined: 2003-07-27
Posts: 2322
Posted: Tue, 2004-12-28 05:33

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.

 
SalemKayaker

Joined: 2004-12-25
Posts: 27
Posted: Tue, 2004-12-28 13:28

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

 
fryfrog

Joined: 2002-10-30
Posts: 3236
Posted: Fri, 2005-01-07 02:00

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.

 
SalemKayaker

Joined: 2004-12-25
Posts: 27
Posted: Sat, 2005-01-08 15:14
fryfrog wrote:
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.

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

 
SalemKayaker

Joined: 2004-12-25
Posts: 27
Posted: Mon, 2005-01-17 13:46

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