Mitza Posted June 29, 2008 Share Posted June 29, 2008 Hey. I have a blog (http://blog.mitza.org) and I made a php script that adds a border and my name to all the photos. Since Google doesn't crawn images with the .php extension (the extension was something like: /image.php?img=test.jpg&type=3), I wrote a simple .htaccess containing this (well, that part I want to present): RewriteRule ^foto/([a-z0-9-_]*.jpg) image.php?img=$1 [L,NC] RewriteRule ^foto/i/([a-z0-9-_]*.jpg) image.php?img=$1&type=i [L,NC] RewriteRule ^foto/s/([a-z0-9-_]*.jpg) image.php?img=$1&type=s [L,NC] So, in my blog posts, I added images with link like: /foto/test.jpg (for the first line from the code tag). My question is if GoogleBot sees that images like some normal images. I tryied search on Google and found nothing from the posts with the new .htaccess (images "locate" in /foto/), but found images that really exist in a public directory (some of my old posts). I also installed a statistics plugin to see if Google visits my page and it/he does. Can anyone light me? Thanks and I hope that this the write section to post this type of problem. Link to comment https://forums.phpfreaks.com/topic/112484-googlebot-and-htaccess/ Share on other sites More sharing options...
Mitza Posted June 30, 2008 Author Share Posted June 30, 2008 Ok, I think the problem is with the images. Is Google reading the EXIF of the images? My images have no EXIF data, can that be the problem? Sorry if U should post this under the mod_rewrite forum, but I don't think that this is a apache problem anymore. Thanks. Link to comment https://forums.phpfreaks.com/topic/112484-googlebot-and-htaccess/#findComment-578274 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.