In case you haven't read my other posts about search engine optimization, I've been on an SEO kick lately. I've renamed all my images in the photo gallery so they all have some context now. Google indexes galleries, but the next step was to be able to search the images from within my own site. I installed the gallery2 search mambot plugin for joomla, but it wasn't doing anything. Here's what I did to get it working.
- Install the mambot
-Administrator Backend: Installers > Mambots - Enable the mambot
-This is the part I was somehow forgetting, but it's critical - Admin Backend: Mambots > Site Mambots
- Click the X icon next to the Gallery2 Search mambot to publish it
- Change some code that comes default with the Jan 6 release:
-Go to the searchbot PHP file
mambots/search/gallery2.searchbot.phpLook for the code around line 63 like this:
$info->created = utility::g2DateToMambo($time);Change it to this:
$info->created = utility::formatdate($time);
Leave a Reply