You can prevent robots (search engines) from visiting Gallery pages which are of no use to them. Some examples are :
- Advanced Search
- Add Comment
- See this page for instructions on changing the Gallery rewrite settings for the slideshow. Then you can use the preceding url stem for a robots disallow.
You can do this by adding the following lines to your robots.txt file :
Disallow: /main.php?g2_view=search.SearchScan& Disallow: /main.php?g2_view=core.UserAdmin& Disallow: /c/add/ Disallow: /main.php?g2_view=shutterfly.PrintPhotos& Disallow: /main.php?g2_view=ecard.SendEcard& Disallow: /v/slideshow/
Note : The comments link and robots.txt line assume you’ve enabled the rewrite plugin for comments.
Note : If you’ve installed gallery into a sub-directory like http://www.example.com/gallery/ then your robots.txt lines will need to be prefixed by that same path (e.g. Disallow: /gallery/c/add/)
You can test and confirm that your robots lines are doing what you want by using Google’s Webmaster Tools, just add your site, verify it, then in the Dashboard under “Site Configuration” … “Crawler Access” you can test URLs from your site.