diff --git a/wikiloc.module b/wikiloc.module
index 339473e..758b5d8 100644
--- a/wikiloc.module
+++ b/wikiloc.module
@@ -99,11 +99,11 @@ function wikiloc_field_formatter_view($entity_type, $entity, $field, $instance,
         // Check if the ID is set and is numeric.
         if (!empty($item['id']) and is_numeric($item['id'])) {
           // Try to use localized map.
-          $wik_url = 'http://' . $langcode . '.wikiloc.com/wikiloc';
+          $wik_url = 'https://' . $langcode . '.wikiloc.com/wikiloc';
           $wik_url_headers = @get_headers($wik_url);
           if (empty($wik_url_headers) or $wik_url_headers[0] == 'HTTP/1.1 404 Not Found') {
             // If no localized map available, default to english.
-            $wik_url = 'http://www.wikiloc.com/wikiloc';
+            $wik_url = 'https://www.wikiloc.com/wikiloc';
           }
           $wik_width = $item['width'];
           $wik_height = $item['height'];
