Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 3 of 3
  1. #1
    Senior Member filburt1's Avatar
    Join Date
    Jul 2002
    Location
    Maryland, US
    Posts
    11,774
    Member #
    3
    Liked
    21 times
    What types of redirects will Google follow, and which will it not?
    • HTTP Location headers with 301 Permanently Moved?
    • Lame <meta> refresh?
    • Even lamer Javascript window.location changes?

    What I'm trying to find is the most efficient means of redirecting the user such that:
    • As much as possible is done server-side (i.e., done by sending HTTP headers) rather than by the browser.
    • Set up such that Google will not follow the link. It's not a security problem if Google follows it, but the point of the link is to not have Google follow it yet allow normal browsers to do it.
    • Try to not actively block Google (i.e., not detect its IP, user-agent, etc.), but passively take an approach that Google chooses not to follow.

    Right now, I'm using a rel of "external nofollow" and redirecting via a Location header. However, I suspect that, should Google ignore the "nofollow" relation, it will still obey the redirect, which I don't want it to do.
    filburt1, Web Design Forums.net founder
    Site of the Month contest: submit your site or vote for the winner!

  2.  

  3. #2
    Senior Member
    Join Date
    Jun 2005
    Location
    Atlanta, GA
    Posts
    4,146
    Member #
    10263
    Liked
    1 times
    I'm relatively certain Google follows 301 Permanently Moved headers, as there would be no reason for it not to. It probably follows meta refreshes, too. Javascript changes, I'd have a harder time believing, though who knows. I think you just trust it to obey nofollow... And maybe make use of robots.txt.

  4. #3
    Senior Member Steax's Avatar
    Join Date
    Dec 2006
    Location
    Bandung, Indonesia
    Posts
    1,207
    Member #
    14572
    I'm pretty sure 301 will work, I've seen it before. Can't promise anything for the other two, though.
    Note on code: If I give code, please note that it is simply sample code to demonstrate an effect. It is not meant to be used as-is; that is the programmer's job. I am not responsible to give you support or be held liable for anything that happens when using my code.


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 05:23 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com