title: Geo specific page for Australia
body: <p>I have read <a href="http://googlewebmastercentral.blogspot.nl/2013/04/x-default-hreflang-for-international-pages.html" rel="nofollow">this article from Google</a>.</p>
  
  <p>and have added these <code>meta</code> tags to the head of each page.</p>
  
  <pre><code>&lt;link rel="alternate" href="http://www.theaustralianwebsite.com.au/" hreflang="en-au" /&gt;
  &lt;link rel="alternate" href="http://www.thegeneralwebsite.com/" hreflang="x-default" /&gt;
  </code></pre>
  
  <p>as you can see, we have a different domain for the australian visitors with a totally different website. Not just the same content localized, but everything is different.</p>
  
  <p>What would be the best approach to redirect australians that hit the general website to the australian website?
  An SEO expert advised me to use a database which maps ip-addresses to countries and redirects based on that. I would prefer a solution based on first client browser language settings. Like this <a href="http://www.w3.org/International/questions/qa-accept-lang-locales" rel="nofollow">http://www.w3.org/International/questions/qa-accept-lang-locales</a></p>
  
  <p>So what would be the best solution for me to redirect users? and should I use javascript or serverside solution (C# .net in my case, something like this <a href="https://support.microsoft.com/en-us/kb/208935" rel="nofollow">https://support.microsoft.com/en-us/kb/208935</a>)</p>
  
  <pre><code>protected void Page_Init(object sender, EventArgs e)
  {
      if (HttpContext.Current != null &amp;&amp; HttpContext.Current.Request.UserLanguages != null)
      {
          string culture = Request.UserLanguages[0].ToLower();
          if (culture.Contains("au"))
               Response.Redirect("http://www.theaustralianwebsite.com.au/");
      }
  }
  </code></pre>