Gallery 2 Optimization for GOOGLE IMAGES SEARCH
|
stevesole
Joined: 2006-07-22
Posts: 22 |
Posted: Fri, 2007-04-06 16:43
|
|
I have MOD Rewrite enabled on my Gallery. When i go through my website to my gallery pages i get URL's like this: http://www.aerialphotographyforyou.co.uk/search/main.php/v/Brighton/WEST_PIER1.jpg.html However if i do a search on Google Images West_Pier1.jpg does not show! If i search on Google web search for West_pier1 then i get this a s the URL: http://www.aerialphotographyforyou.co.uk/search/main.php?g2_itemId=65 Why is it not showing the search friendly URL's? And how do i get my images on Image search? |
|
| Login or register to post comments |

Posts: 32396
Probably it just takes some time until google updates its cache.
It certainly helps if you use g2's google sitemap module and submit that sitemap to google.
Also, if you want to get rid of the main.php/ part in the new URLs, uninstall the url rewrite module, install it again and choose "mod_rewrite" when configuring instead of pathinfo.
--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage
Posts: 22
I have a sitemap and have reinstalled mod_rewrite like you said...
am still getting http://www.aerialphotographyforyou.co.uk/search/main.php?g2_itemId=65
Does it make a difference to Google bots having Deny All in my .htaccess file?
Posts: 32396
Give google some time... i'm talking about weeks here.
> Does it make a difference to Google bots having Deny All in my .htaccess file?
dependy on what you deny. obviously you're not denying access to image / html files, thus no, that shouldn't have any influence.
--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage
Posts: 22
Ok if i do a google search on van alen building brighton this gives me
Van Alen Building 1Van Alen Building, Marine Parade, Brighton, BN2 1WP, osx 531582, osy 103911, DSC00796. Date: 17/02/07 Owner: Steve Sole. Full size: 550x413 ...
www.aerialphotographyforyou.co.uk/search/main.php/v/Brighton/VAN_ALEN_BUILDING1.jpg.html - 8k - Cached - Similar pages
but if i click on the above link it gives a really badly formatted page setup up for Gallery with different fonts and no images\!!
please help?
Posts: 32396
because you switched your short URL style from pathinfo (with main.php/) to mod_rewrite.
google has now invalid urls in their search index.
resubmit your google sitemap and wait some time.
--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage
Posts: 22
actually i do not have a sitemap installed like i thought..
was just verified!!
Can i download a sitemap via gallery2 it seems to suggest i can?
I have activated the sitemap download etc and want to know where i get it from and how to use it?
Posts: 32396
g2.2 has a google sitemap module.
see: docs -> installation -> installing additional components -> plugins.
--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage
Posts: 22
am i being stupid but there seems to be no site admin> plugin section i have modules but i see from docs a plugin is a collection of modules..?
Posts: 32396
from the docs:
that's all from:
http://codex.gallery2.org/Gallery2:Installing_Additional_Components
1. identify your g2 version. g2.2 or g2.1 or even older?
2. use the appropriate instructions to install new plugins.
--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage
Posts: 22
so are you advising me to upgrade Gallery 2 from Gallery version = 2.1.2 core 1.1.0.2 or to use user plugins?
I already have Google sitemap under the export heading on admin so cant figure out what you are advising.....
All i can find on the official downloads is the same google sitemap module i already have!!
Posts: 32396
first you say
> actually i do not have a sitemap installed like i thought..
now you say
> I already have Google sitemap under the export heading on admin so cant figure out what you are advising.....
if the google sitemap module is active already, there's no need to install it again.
--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage
Posts: 22
ok sorry about all that confusion
i did not realise just having it installed was enough to get my web site gallery mapped automatically!!
Do i not have to upload a sitemap still anywhere or Gallery 2 google sitemap module does it all?
Posts: 32396
> i did not realise just having it installed was enough to get my web site gallery mapped automatically!!
it is not. i assume you read the instructions in the site admin -> google sitemap page about submitting / registering the sitemap at google.
--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage
Posts: 22
yes i have submitted the url http://www.aerialphotographyforyou.co.uk/search/sitemap
to the google sitemap page like it asked me too..
Thats all it says to do on the page!