Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Please forgive me if this is not a lightbox2 issue.
I am using imagefield + imagecache + lightbox2 to display images on my website. Google has not crawled any of my images, despite the site being up several months. All my websites with this particular setup are experiencing the same problem. It may be due to the link structure that lightbox2 generates. Stella's homepage has different link properties, but I'm not sure if she also uses imagefield and imagecache. I am using lightbox2 version 6.x-1.x-dev (2009-Jan-12).
Stella, would you mind if I sent you a link?
Thanks.
Comments
Comment #1
stella CreditAttribution: stella commentedLightbox shouldn't have any effect on whether Google successfully crawls your site or not. Have you checked your robots.txt settings? Also if you're using the 'private' file system settings, then this may affect it but can't say for sure.
You can send me the link to your site if you want, but I'm unsure I will be able to help you further.
Cheers,
Stella
Comment #2
B.P.B CreditAttribution: B.P.B commentedArgh.. My robots.txt disallows /sites/ which is where cck/imagefield stores images by default.
Thank you for the tip!
Comment #3
stella CreditAttribution: stella commentedComment #5
1kenthomas CreditAttribution: 1kenthomas commentedAllow: /sites/*/images/ should solve for images put in that path, correct? Equally, Allow: /sites/*/files/?
Thanks, Ken
Comment #6
z.stolar CreditAttribution: z.stolar commentedI don't think you can "Allow" anything in robots.txt, I think you can only Disallow.
That is indeed a problem. I am going to search a bit more, and file an issue in core's queue.