-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
43 lines (36 loc) · 2.38 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Free geo-targeted redirects!</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.2/css/bulma.min.css">
</head>
<body>
<section class="hero">
<div class="hero-body">
<p class="title">
Free geo-targeted redirects
</p>
<p class="subtitle">
Free forever with <strong>Netlify</strong>!
</p>
</div>
</section>
<section class="section">
<div class="container">
<h1 class="title">
Redirect by country or language
</h1>
<p class="subtitle">For large multi-regional or multi-lingual sites, you may want to send site visitors to different content based on their location (by country GeoIP data) or their browser’s language configuration.</p>
<p class="subtitle"><a href="https://docs.netlify.com/routing/redirects/" rel="nofollow">Netlify</a> can handle these requests with GeoIP- and language-based redirects directly from their CDN nodes.</p>
<p class="subtitle">When you add these redirect rules, Netlify automatically creates alternate headers to enable the redirection in our CDN nodes. This removes the need for a round trip to our origin servers and ensures that normal pages, besides country or language based redirects, are cached on the CDN nodes.</p>
<p class="subtitle">Here are some examples: <a href="https://github.com/bettysteger/geo-redirects/blob/main/_redirects">https://github.com/bettysteger/geo-redirects/blob/main/_redirects</a></p>
<p class="subtitle">The <code>Country</code> attribute accepts <a href="http://dev.maxmind.com/geoip/legacy/codes/iso3166/" rel="nofollow">ISO 3166 country codes</a>.</p>
<p class="subtitle">The <code>Language</code> attribute accepts <a href="http://www.metamodpro.com/browser-language-codes" rel="nofollow">standard browser language identification codes</a>.</p>
<h2 class="title">Affiliate Link Examples</h2>
<p class="subtitle"><a href="https://302.netlify.app/flaconi" rel="nofollow">https://302.netlify.app/flaconi</a> should redirect to flaconi.at if you are in Austria, otherwise it should redirect to flaconi.de.</p>
</div>
</section>
</body>
</html>