HELP! - Google Results for my site redirected to some MFA

Discussion in 'Site & Server Administration' started by dshah, Feb 7, 2007.

  1. #1
    I am just shocked to see this.....help me!

    When I put my domain google image search results, images from my sites are listed. But when I click on it - it goes to my site but then immediately redirected to some total MFA site :eek::eek:

    This happens for few images, but not for all

    How is this possible? Is my site hacked? (using 303 or something)


    Help Please....
     
    dshah, Feb 7, 2007 IP
  2. ajsa52

    ajsa52 Well-Known Member

    Messages:
    3,426
    Likes Received:
    125
    Best Answers:
    0
    Trophy Points:
    160
    #2
    You can check the HTTP response code with "wget file" UNIX command using the URL of your picture as "file".
    - If you get a redirection response code (301,...) maybe your .htaccess has been modified (hacked).
    - If you get a correct response code (200, 304) mayge Google is showing your picture hosted on another site, after steal from yours.
     
    ajsa52, Feb 7, 2007 IP
  3. dshah

    dshah Well-Known Member

    Messages:
    1,840
    Likes Received:
    69
    Best Answers:
    0
    Trophy Points:
    115
    #3
    I just checked, in google image results the imgurl parameter points to image file hosted on my site/server, but imgrefurl points to some other site page. This happens only for few files - for both parameters correctly point to image and URL of my site.

    My .htaccess is fine.

    Is there way I can fix it? I have just did hotlink prevention using .htaccess.
     
    dshah, Feb 7, 2007 IP
  4. ajsa52

    ajsa52 Well-Known Member

    Messages:
    3,426
    Likes Received:
    125
    Best Answers:
    0
    Trophy Points:
    160
    #4
    I use .htaccess hotlink prevention too. My rule is to send a "banner picture" when "referer" comes from other site. That way, most sites/users remove the hotlink.
     
    ajsa52, Feb 8, 2007 IP
  5. dshah

    dshah Well-Known Member

    Messages:
    1,840
    Likes Received:
    69
    Best Answers:
    0
    Trophy Points:
    115
    #5
    Yeah, I did same :)

    How do you allow certain domains - like google, yahoo, MSN etc?
     
    dshah, Feb 8, 2007 IP
  6. niloy

    niloy Banned

    Messages:
    46
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Actually MFA sites are taking your images from your site and google search is taking those for cloacking. You should use hotlinking protection to prevent this from happening.
     
    niloy, Feb 8, 2007 IP
  7. ajsa52

    ajsa52 Well-Known Member

    Messages:
    3,426
    Likes Received:
    125
    Best Answers:
    0
    Trophy Points:
    160
    #7
    I don't allow any domain explicitly. I put on .htaccess something like this:

    SetEnvIfNoCase Referer "YourSite.com/pictures/pic_" local_pic

    That way Google can display my pictures because Google is using something like: src="/images?q=tbn:lf2WXAbdtQ2M:http://www.YourSite.com/YourPicture.jpg"

    Note that I don't use "^http://www.YourSite.com/...", that's because sometimes Google Cache does not contain "http://". And some users go to "YourSite.com" and not "www.YourSite.com".
     
    ajsa52, Feb 8, 2007 IP