Forum Moderators: phranque
I would like to redirect any user coming from google images to my homepage via htaccess, this is what I have so far, now I am new at this so I know it is flawed because I have no idea what Im doing.
RewriteEngine on
RewriteCond %{HTTP_REFERER} ^images\.google\.com [NC]
RewriteRule \.html?$ /http://www.myurl.com [NC,L]
RewriteEngine on
RewriteCond %{HTTP_REFERER} [b]im[/b]ages\.google\.com [NC]
RewriteRule \.html?$ [b]ht[/b]tp://www.myurl.co[b]m/[/b] [NC,R=301,L]
RewriteCond %{REQUEST_URI} !^/index.html$
Jim