{"id":15821,"date":"2021-09-20T16:42:46","date_gmt":"2021-09-20T14:42:46","guid":{"rendered":"https:\/\/www.transparentedge.eu\/blog\/geobloqueo-contenidos-web\/"},"modified":"2024-08-23T15:15:27","modified_gmt":"2024-08-23T13:15:27","slug":"geoblocking-internet-content","status":"publish","type":"post","link":"https:\/\/www.transparentedge.eu\/en\/blog\/geoblocking-internet-content\/","title":{"rendered":"Geoblocking internet content"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">When it comes to positioning your content on the Internet, you can publish different content on the same website based on the user\u2019s location. This specific functionality is the website request geolocation of the final user. With this, the owners of the content can define different rules, such as blocking or unblocking content according to the user\u2019s geographical location.\u00a0<\/span><\/p>\n<h2><span style=\"font-weight: 400;\">WHAT IS CONTENT GEOLOCATION?<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">The foundation of this functionality is geolocation, which is simply the ability to determine the real geographic location of a user. It acts as a radar when you access the Internet from a mobile phone, computer or tablet. Depending on what the radar detects, a website will show different kinds of content if the geoblocking or geographical restriction is activated (also often known as \u201cgeofencing\u201d).<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The goal of this post is for you to understand what lies behind all of this and how Transparent Edge allows you to use this feature in a simple way. This is useful to limit the visualization of certain content, but it\u2019s particularly important when you want to sell something through an e-commerce store, allowing you to set prices according to the country.\u00a0<\/span><\/p>\n<h2><span style=\"font-weight: 400;\">HOW DOES WEB GEO-LOCALIZATION WORK?<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">At Transparent Edge, by default, we geolocate every request that passes through our systems, always sending a header to the origin with the country code from which the request was made. This header is the <\/span><i><span style=\"font-weight: 400;\">geo_country_code.<\/span><\/i><\/p>\n<h3><span style=\"font-weight: 400;\">SERVICES FOR INTERNET CONTENT GEOBLOCKING\u00a0<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">For this functionality we integrate with all the databases homologated by the major players. <\/span><a href=\"https:\/\/www.maxmind.com\/en\/solutions\/geoip2-enterprise-product-suite\/enterprise-database\"><i><span style=\"font-weight: 400;\">GeoIP2 Enterprise Database<\/span><\/i><\/a><span style=\"font-weight: 400;\">. <\/span><span style=\"font-weight: 400;\">One of them for example has a country accuracy rate of 99,8%.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">It\u2019s possible to send other data that this kind of database provides, set it as an http header and send it to the origin, i.e. the city, but we have to consider that the city-level of accuracy in this database for Spain is around 75%.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The header <\/span><i><span style=\"font-weight: 400;\">geo_country_code<\/span><\/i><span style=\"font-weight: 400;\"> is the country code based on the<\/span> <a href=\"https:\/\/www.iso.org\/obp\/ui\/#search\"><span style=\"font-weight: 400;\">ISO 3166<\/span><\/a><span style=\"font-weight: 400;\"> standard.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">If the system was unable to determine the user\u2019s IP address, it will send the string \u201cUnknown\u201d within the header.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Through this header, we can actually make any decision, such as performing a redirection, providing specific content for that country in particular, or simply geoblocking content.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">For this last option, we will go into our <\/span><a href=\"https:\/\/dashboard.transparentcdn.com\/\"><span style=\"font-weight: 400;\">panel<\/span><\/a><span style=\"font-weight: 400;\">,<\/span> <span style=\"font-weight: 400;\">then to Provisioning, VCL Config, and in the advanced section, we will duplicate the configuration that is being produced at that time and we will enter the geoblocking code within the function vcl_recv.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">To understand how the header \u201cTCDN-Command\u201d works, please refer to <\/span><a href=\"https:\/\/docs.transparentedge.eu\/config\/vcl\/tcdn-command\"><span style=\"font-weight: 400;\">this link<\/span><\/a><span style=\"font-weight: 400;\">.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Similarly, we can redirect a website to a URL or specific site based on the user\u2019s location, for example:\u00a0<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>When it comes to positioning your content on the Internet, you can publish different content on the same website based [&hellip;]<\/p>\n","protected":false},"author":14,"featured_media":19550,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"content-type":"","footnotes":""},"categories":[137],"tags":[138,139,140,141,142,143,144,146,147,148,149,150],"class_list":["post-15821","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-optimizacion-en","tag-alto-rendimiento-en","tag-cdn-en","tag-distribucion-de-contenidos-en","tag-edgecomputing-en","tag-aceleracion-web-en","tag-cache-en","tag-web-en","tag-velocidad-web-en","tag-optimizacion-imagenes-en","tag-contenido-audiovisual-en","tag-performance-en","tag-seo-en"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Geoblocking internet content - Transparent Edge<\/title>\n<meta name=\"description\" content=\"Geoblocking is a functionality that helps to position your content based on location. You can learn how to block internet content in this post.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.transparentedge.eu\/blog\/geoblocking-internet-content\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Geoblocking internet content - Transparent Edge\" \/>\n<meta property=\"og:description\" content=\"Geoblocking is a functionality that helps to position your content based on location. You can learn how to block internet content in this post.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.transparentedge.eu\/blog\/geoblocking-internet-content\/\" \/>\n<meta property=\"og:site_name\" content=\"Transparent Edge\" \/>\n<meta property=\"article:published_time\" content=\"2021-09-20T14:42:46+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-08-23T13:15:27+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.transparentedge.eu\/wp-content\/uploads\/2021\/09\/TE-OG-03.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"627\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Jara Exp\u00f3sito\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@tedgeservices\" \/>\n<meta name=\"twitter:site\" content=\"@tedgeservices\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.transparentedge.eu\\\/blog\\\/geoblocking-internet-content\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.transparentedge.eu\\\/blog\\\/geoblocking-internet-content\\\/\"},\"author\":{\"name\":\"Jara Exp\u00f3sito\",\"@id\":\"https:\\\/\\\/www.transparentedge.eu\\\/#\\\/schema\\\/person\\\/e2bd1cb076dea3d14dfdad4191c83f1a\"},\"headline\":\"Geoblocking internet content\",\"datePublished\":\"2021-09-20T14:42:46+00:00\",\"dateModified\":\"2024-08-23T13:15:27+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.transparentedge.eu\\\/blog\\\/geoblocking-internet-content\\\/\"},\"wordCount\":456,\"publisher\":{\"@id\":\"https:\\\/\\\/www.transparentedge.eu\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.transparentedge.eu\\\/blog\\\/geoblocking-internet-content\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.transparentedge.eu\\\/wp-content\\\/uploads\\\/2021\\\/09\\\/TE-OG-03.png\",\"keywords\":[\"alto rendimiento\",\"CDN\",\"distribuci\u00f3n de contenidos\",\"EdgeComputing\",\"Aceleraci\u00f3n web\",\"cache\",\"web\",\"velocidad web\",\"optimizaci\u00f3n imag\u00e9nes\",\"contenido audiovisual.\",\"Performance\",\"SEO\"],\"articleSection\":[\"optimizaci\u00f3n\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.transparentedge.eu\\\/blog\\\/geoblocking-internet-content\\\/\",\"url\":\"https:\\\/\\\/www.transparentedge.eu\\\/blog\\\/geoblocking-internet-content\\\/\",\"name\":\"Geoblocking internet content - Transparent Edge\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.transparentedge.eu\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.transparentedge.eu\\\/blog\\\/geoblocking-internet-content\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.transparentedge.eu\\\/blog\\\/geoblocking-internet-content\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.transparentedge.eu\\\/wp-content\\\/uploads\\\/2021\\\/09\\\/TE-OG-03.png\",\"datePublished\":\"2021-09-20T14:42:46+00:00\",\"dateModified\":\"2024-08-23T13:15:27+00:00\",\"description\":\"Geoblocking is a functionality that helps to position your content based on location. You can learn how to block internet content in this post.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.transparentedge.eu\\\/blog\\\/geoblocking-internet-content\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.transparentedge.eu\\\/blog\\\/geoblocking-internet-content\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.transparentedge.eu\\\/blog\\\/geoblocking-internet-content\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.transparentedge.eu\\\/wp-content\\\/uploads\\\/2021\\\/09\\\/TE-OG-03.png\",\"contentUrl\":\"https:\\\/\\\/www.transparentedge.eu\\\/wp-content\\\/uploads\\\/2021\\\/09\\\/TE-OG-03.png\",\"width\":1200,\"height\":627},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.transparentedge.eu\\\/blog\\\/geoblocking-internet-content\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Portada\",\"item\":\"https:\\\/\\\/www.transparentedge.eu\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Geoblocking internet content\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.transparentedge.eu\\\/#website\",\"url\":\"https:\\\/\\\/www.transparentedge.eu\\\/\",\"name\":\"Transparent Edge\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.transparentedge.eu\\\/#organization\"},\"alternateName\":\"Transparent Edge\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.transparentedge.eu\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.transparentedge.eu\\\/#organization\",\"name\":\"Transparent Edge Services\",\"alternateName\":\"Transparent Edge\",\"url\":\"https:\\\/\\\/www.transparentedge.eu\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.transparentedge.eu\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.transparentedge.eu\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/logotipo-cuadrado.jpg\",\"contentUrl\":\"https:\\\/\\\/www.transparentedge.eu\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/logotipo-cuadrado.jpg\",\"width\":1328,\"height\":1180,\"caption\":\"Transparent Edge Services\"},\"image\":{\"@id\":\"https:\\\/\\\/www.transparentedge.eu\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/x.com\\\/tedgeservices\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/transparent-edge\\\/\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UC5zZoyZmiLGBTAdiFpj2xHA\\\/videos\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.transparentedge.eu\\\/#\\\/schema\\\/person\\\/e2bd1cb076dea3d14dfdad4191c83f1a\",\"name\":\"Jara Exp\u00f3sito\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Geoblocking internet content - Transparent Edge","description":"Geoblocking is a functionality that helps to position your content based on location. You can learn how to block internet content in this post.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.transparentedge.eu\/blog\/geoblocking-internet-content\/","og_locale":"en_US","og_type":"article","og_title":"Geoblocking internet content - Transparent Edge","og_description":"Geoblocking is a functionality that helps to position your content based on location. You can learn how to block internet content in this post.","og_url":"https:\/\/www.transparentedge.eu\/blog\/geoblocking-internet-content\/","og_site_name":"Transparent Edge","article_published_time":"2021-09-20T14:42:46+00:00","article_modified_time":"2024-08-23T13:15:27+00:00","og_image":[{"width":1200,"height":627,"url":"https:\/\/www.transparentedge.eu\/wp-content\/uploads\/2021\/09\/TE-OG-03.png","type":"image\/png"}],"author":"Jara Exp\u00f3sito","twitter_card":"summary_large_image","twitter_creator":"@tedgeservices","twitter_site":"@tedgeservices","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.transparentedge.eu\/blog\/geoblocking-internet-content\/#article","isPartOf":{"@id":"https:\/\/www.transparentedge.eu\/blog\/geoblocking-internet-content\/"},"author":{"name":"Jara Exp\u00f3sito","@id":"https:\/\/www.transparentedge.eu\/#\/schema\/person\/e2bd1cb076dea3d14dfdad4191c83f1a"},"headline":"Geoblocking internet content","datePublished":"2021-09-20T14:42:46+00:00","dateModified":"2024-08-23T13:15:27+00:00","mainEntityOfPage":{"@id":"https:\/\/www.transparentedge.eu\/blog\/geoblocking-internet-content\/"},"wordCount":456,"publisher":{"@id":"https:\/\/www.transparentedge.eu\/#organization"},"image":{"@id":"https:\/\/www.transparentedge.eu\/blog\/geoblocking-internet-content\/#primaryimage"},"thumbnailUrl":"https:\/\/www.transparentedge.eu\/wp-content\/uploads\/2021\/09\/TE-OG-03.png","keywords":["alto rendimiento","CDN","distribuci\u00f3n de contenidos","EdgeComputing","Aceleraci\u00f3n web","cache","web","velocidad web","optimizaci\u00f3n imag\u00e9nes","contenido audiovisual.","Performance","SEO"],"articleSection":["optimizaci\u00f3n"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.transparentedge.eu\/blog\/geoblocking-internet-content\/","url":"https:\/\/www.transparentedge.eu\/blog\/geoblocking-internet-content\/","name":"Geoblocking internet content - Transparent Edge","isPartOf":{"@id":"https:\/\/www.transparentedge.eu\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.transparentedge.eu\/blog\/geoblocking-internet-content\/#primaryimage"},"image":{"@id":"https:\/\/www.transparentedge.eu\/blog\/geoblocking-internet-content\/#primaryimage"},"thumbnailUrl":"https:\/\/www.transparentedge.eu\/wp-content\/uploads\/2021\/09\/TE-OG-03.png","datePublished":"2021-09-20T14:42:46+00:00","dateModified":"2024-08-23T13:15:27+00:00","description":"Geoblocking is a functionality that helps to position your content based on location. You can learn how to block internet content in this post.","breadcrumb":{"@id":"https:\/\/www.transparentedge.eu\/blog\/geoblocking-internet-content\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.transparentedge.eu\/blog\/geoblocking-internet-content\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.transparentedge.eu\/blog\/geoblocking-internet-content\/#primaryimage","url":"https:\/\/www.transparentedge.eu\/wp-content\/uploads\/2021\/09\/TE-OG-03.png","contentUrl":"https:\/\/www.transparentedge.eu\/wp-content\/uploads\/2021\/09\/TE-OG-03.png","width":1200,"height":627},{"@type":"BreadcrumbList","@id":"https:\/\/www.transparentedge.eu\/blog\/geoblocking-internet-content\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Portada","item":"https:\/\/www.transparentedge.eu\/en\/"},{"@type":"ListItem","position":2,"name":"Geoblocking internet content"}]},{"@type":"WebSite","@id":"https:\/\/www.transparentedge.eu\/#website","url":"https:\/\/www.transparentedge.eu\/","name":"Transparent Edge","description":"","publisher":{"@id":"https:\/\/www.transparentedge.eu\/#organization"},"alternateName":"Transparent Edge","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.transparentedge.eu\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.transparentedge.eu\/#organization","name":"Transparent Edge Services","alternateName":"Transparent Edge","url":"https:\/\/www.transparentedge.eu\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.transparentedge.eu\/#\/schema\/logo\/image\/","url":"https:\/\/www.transparentedge.eu\/wp-content\/uploads\/2023\/07\/logotipo-cuadrado.jpg","contentUrl":"https:\/\/www.transparentedge.eu\/wp-content\/uploads\/2023\/07\/logotipo-cuadrado.jpg","width":1328,"height":1180,"caption":"Transparent Edge Services"},"image":{"@id":"https:\/\/www.transparentedge.eu\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/tedgeservices","https:\/\/www.linkedin.com\/company\/transparent-edge\/","https:\/\/www.youtube.com\/channel\/UC5zZoyZmiLGBTAdiFpj2xHA\/videos"]},{"@type":"Person","@id":"https:\/\/www.transparentedge.eu\/#\/schema\/person\/e2bd1cb076dea3d14dfdad4191c83f1a","name":"Jara Exp\u00f3sito"}]}},"_links":{"self":[{"href":"https:\/\/www.transparentedge.eu\/en\/wp-json\/wp\/v2\/posts\/15821","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.transparentedge.eu\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.transparentedge.eu\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.transparentedge.eu\/en\/wp-json\/wp\/v2\/users\/14"}],"replies":[{"embeddable":true,"href":"https:\/\/www.transparentedge.eu\/en\/wp-json\/wp\/v2\/comments?post=15821"}],"version-history":[{"count":2,"href":"https:\/\/www.transparentedge.eu\/en\/wp-json\/wp\/v2\/posts\/15821\/revisions"}],"predecessor-version":[{"id":19691,"href":"https:\/\/www.transparentedge.eu\/en\/wp-json\/wp\/v2\/posts\/15821\/revisions\/19691"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.transparentedge.eu\/en\/wp-json\/wp\/v2\/media\/19550"}],"wp:attachment":[{"href":"https:\/\/www.transparentedge.eu\/en\/wp-json\/wp\/v2\/media?parent=15821"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.transparentedge.eu\/en\/wp-json\/wp\/v2\/categories?post=15821"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.transparentedge.eu\/en\/wp-json\/wp\/v2\/tags?post=15821"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}