1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Google country redirect

Discussion in 'Black Hat SEO' started by moanon, Apr 22, 2015.

  1. moanon

    moanon Registered Member

    Joined:
    Aug 30, 2014
    Messages:
    92
    Likes Received:
    37
    Location:
    near Vienna, Austria
    This might be useless to people located in the US but could be interesting for others.

    Maybe you came across the following problem:
    You want to see the US search results for some phrase but Google keeps redirecting you to your countrys version of itself.

    First thing to know are the following parameters of google:
    • q = the search phrase
    • pws = presonalized search (might want to turn this off)
    • hl = language
    • gl = country

    Let's take the phrase "best restaurants" for an example.
    A normal search URL would be https://www.google.com/search?q=best+restaurants
    This will redirect you in most of the cases. Now try it with the following:
    https://www.google.com/search?q=best+restaurants&pws=0&hl=en&gl=us
    Code:
    https://www.google.com/search?q=best+restaurants&pws=0&hl=en&gl=us
    Still redirects. Let's try it with the New Zealand version for comparison:
    https://www.google.co.nz/search?q=best+restaurants&pws=0&hl=en&gl=nz
    Code:
    https://www.google.co.nz/search?q=best+restaurants&pws=0&hl=en&gl=nz
    This seems to be working. But still, with the .com domain it redirects you

    Now when you look at the domain where it redirects you to you might see the following parameter:
    gws_rd=cr

    I did a bit of research and seems this means something like "google webserver redirect", and I guess cr means something like "country redirect"

    Now try adding this parameter in your initial URL like this:
    https://www.google.com/search?q=best+restaurants&pws=0&hl=en&gl=us&gws_rd=cr
    Code:
    https://www.google.com/search?q=best+restaurants&pws=0&hl=en&gl=us&gws_rd=cr
    Now it shouldn't redirect you anymore and show you the US results for "best restaurants".

    I think Google checks for this parameter and if it's set already it thinks that a country redirect has been done already and therefor doesn't do it anymore.

    Maybe someone finds this useful.
     
  2. Michlap

    Michlap Regular Member

    Joined:
    Aug 5, 2014
    Messages:
    404
    Likes Received:
    18
    thank you!!!!!!!!!!!!!