Okay, I had a question a week or so ago and nobody helped, but I figured it out. see here Anyway, after that limited success I wanted to make another change. Here is my current code: RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://MYSITE.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://MYSITE.com$ [NC] RewriteCond %{HTTP_REFERER} !^http://www. MYSITE.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://www. MYSITE.com$ [NC] RewriteRule .*\.(jpg|gif)$ - [F,NC] Options +Indexes Options +FollowSymlinks RewriteEngine On RewriteCond %{HTTP_HOST} ^ MYSITE.com RewriteRule ^(.*)$ http://www. MYSITE.com/$1 [R=301,L] #Redirect /index.html to www. MYSITE.com/ RewriteRule ^index.html$ http://www. MYSITE.com/ [R=301,L] It seems to work fine. I was able to add those last two lines to solve my other issue. HERE IS MY NEW PROBLEM. I want to allow google, google images, anything google to be allowed to link to my images. I have noticed some problems when I try to see images coming from a google image search. So I wanted to add google to the list of sites that can access my images or refer to my images. I made some change and my whole site went down for an hour, YIKES!. EDIT: Actually my problem is even worse, as now this file doesn't work either. I added some lines, they didn't work, I deleted them, now nothing works! I get a 500 error. Anyway, if someone knows what lines of code I need to add, I would be most appreciative. I have spent way to many hours on this problem already. Thanks.
Thanks for the tip. Took me a while but I got it working. I think I had several problems. 1. clean the cache 2. Make sure file is UTF-8 not someother format 3. Make sure there are no extraneous spaces in the code. lots of testing, waited until Sunday for least traffic for my site.
As a webmaster block when frustrated, we always tend to forget basic things such as clearing the cache, especially in firefox browser, and it always get me...sometimes.