Jump to content

GoogleBot and .htaccess


Mitza

Recommended Posts

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
Share on other sites

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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.