diff --git a/README.txt b/README.txt
index 27e3dfc..4900aa9 100644
--- a/README.txt
+++ b/README.txt
@@ -14,12 +14,12 @@ CONTENTS OF THIS FILE
 INTRODUCTION
 ------------
 
-Current Maintainer: Dave Reid <http://drupal.org/user/53892>
-Co-maintainer: Kiam <http://drupal.org/user/55077>
-Co-maintainer: Earnie <http://drupal.org/user/86710>
-Co-maintainer: Darren Oh <http://drupal.org/user/30772>
-Co-maintainer: Andrei-Marius Dincu <http://drupal.org/user/2628879>
-Original Author: Matthew Loar <http://drupal.org/user/24879>
+Current Maintainer: Dave Reid <https://www.drupal.org/user/53892>
+Co-maintainer: Kiam <https://www.drupal.org/user/55077>
+Co-maintainer: Earnie <https://www.drupal.org/user/86710>
+Co-maintainer: Darren Oh <https://www.drupal.org/user/30772>
+Co-maintainer: Andrei-Marius Dincu <https://www.drupal.org/user/2628879>
+Original Author: Matthew Loar <https://www.drupal.org/user/24879>
 
 XML Sitemap automatically creates a sitemap that conforms to the sitemaps.org
 specification. This helps search engines keep their search results up to date.
@@ -28,7 +28,7 @@ specification. This helps search engines keep their search results up to date.
 INSTALLING
 ----------
 
-See http://drupal.org/getting-started/install-contrib for instructions on
+See https://www.drupal.org/getting-started/install-contrib for instructions on
 how to install or update Drupal modules.
 
 Once XML Sitemap is installed and enabled, you can adjust the settings for your
@@ -44,7 +44,7 @@ UNINSTALLING
 Because Drupal does not uninstall modules in reverse order of their
 dependencies, if you want to uninstall all the XML sitemap modules, be sure to
 disable and uninstall all the sub-modules before the base XML sitemap module.
-To help fix this bug in Drupal core, visit http://drupal.org/node/151452.
+To help fix this bug in Drupal core, visit https://www.drupal.org/node/151452.
 
 
 FREQUENTLY ASKED QUESTIONS (FAQ)
@@ -56,17 +56,17 @@ FREQUENTLY ASKED QUESTIONS (FAQ)
 KNOWN ISSUES
 ------------
 
-- See http://drupal.org/node/482550 for a list of the current known issues.
+- See https://www.drupal.org/node/482550 for a list of the current known issues.
 
 
 MORE INFORMATION
 ----------------
 
 - To issue any bug reports, feature or support requests, see the module issue
-  queue at http://drupal.org/project/issues/xmlsitemap.
+  queue at https://www.drupal.org/project/issues/xmlsitemap.
 
 - For additional documentation, see the online module handbook at
-  http://drupal.org/handbook/modules/xmlsitemap.
+  https://www.drupal.org/handbook/modules/xmlsitemap.
 
 - You can view the sitemap.org specification at http://sitemaps.org.
 
@@ -75,7 +75,7 @@ HOW CAN YOU CONTRIBUTE?
 -----------------------
 
 - Report any bugs, feature requests, etc. in the issue tracker.
-  http://drupal.org/project/issues/xmlsitemap
+  https://www.drupal.org/project/issues/xmlsitemap
 
 - Help translate this module.
   http://localize.drupal.org/translate/projects/xmlsitemap
diff --git a/src/Tests/XmlSitemapTestBase.php b/src/Tests/XmlSitemapTestBase.php
index 188976e..1a51a5b 100644
--- a/src/Tests/XmlSitemapTestBase.php
+++ b/src/Tests/XmlSitemapTestBase.php
@@ -131,7 +131,7 @@ abstract class XmlSitemapTestBase extends WebTestBase {
   /**
    * Check the files directory is created (massive fails if not done).
    *
-   * @todo This can be removed when http://drupal.org/node/654752 is fixed.
+   * @todo This can be removed when https://www.drupal.org/node/654752 is fixed.
    */
   protected function checkFilesDirectory() {
     if (!xmlsitemap_check_directory()) {
@@ -454,7 +454,7 @@ abstract class XmlSitemapTestBase extends WebTestBase {
    *
    * @see simpletest_verbose()
    *
-   * @todo Remove when http://drupal.org/node/800426 is fixed.
+   * @todo Remove when https://www.drupal.org/node/800426 is fixed.
    */
   protected function verbose($verbose_message, $message = 'Verbose message') {
     if ($id = parent::verbose($verbose_message)) {
diff --git a/src/Tests/XmlSitemapUserFunctionalTest.php b/src/Tests/XmlSitemapUserFunctionalTest.php
index f89c37f..f572772 100644
--- a/src/Tests/XmlSitemapUserFunctionalTest.php
+++ b/src/Tests/XmlSitemapUserFunctionalTest.php
@@ -48,7 +48,7 @@ class XmlSitemapUserFunctionalTest extends XmlSitemapTestBase {
       'xmlsitemap[status]' => 1,
     ];
 
-    // This will pass when http://drupal.org/node/360925 is fixed.
+    // This will pass when https://www.drupal.org/node/360925 is fixed.
     $this->drupalPostForm('user/' . $this->normal_user->id() . '/edit', $edit, t('Save'));
     $this->assertText('The changes have been saved.');
     $this->assertSitemapLinkVisible('user', $this->normal_user->id());
diff --git a/src/XmlSitemapLinkStorage.php b/src/XmlSitemapLinkStorage.php
index ec10794..3e5119c 100644
--- a/src/XmlSitemapLinkStorage.php
+++ b/src/XmlSitemapLinkStorage.php
@@ -120,7 +120,7 @@ class XmlSitemapLinkStorage implements XmlSitemapLinkStorageInterface {
       trigger_error(t('Invalid sitemap link priority %priority.<br />@link', ['%priority' => $link['priority'], '@link' => var_export($link, TRUE)]), E_USER_ERROR);
     }
     if ($link['changecount'] < 0) {
-      trigger_error(t('Negative changecount value. Please report this to <a href="@516928">@516928</a>.<br />@link', ['@516928' => 'http://drupal.org/node/516928', '@link' => var_export($link, TRUE)]), E_USER_ERROR);
+      trigger_error(t('Negative changecount value. Please report this to <a href="@516928">@516928</a>.<br />@link', ['@516928' => 'https://www.drupal.org/node/516928', '@link' => var_export($link, TRUE)]), E_USER_ERROR);
       $link['changecount'] = 0;
     }
 
diff --git a/xmlsitemap.install b/xmlsitemap.install
index 01d2818..5bcea47 100644
--- a/xmlsitemap.install
+++ b/xmlsitemap.install
@@ -31,7 +31,7 @@ function xmlsitemap_requirements($phase) {
       'value' => $t('Disabled'),
       'severity' => REQUIREMENT_ERROR,
       'description' => $t("The XML sitemap module requires you to enable the PHP extensions in the following list (see the <a href=\"@xmlsitemap_requirements\">module's system requirements page</a> for more information):", [
-        '@xmlsitemap_requirements' => 'http://drupal.org/documentation/modules/xmlsitemap/requirements',
+        '@xmlsitemap_requirements' => 'https://www.drupal.org/documentation/modules/xmlsitemap/requirements',
       ]) . \Drupal::service('renderer')->render($items),
     ];
   }
@@ -56,7 +56,7 @@ function xmlsitemap_requirements($phase) {
     if (!xmlsitemap_check_directory()) {
       $requirements['xmlsitemap_directory']['value'] = $t('Not found or not writable');
       $requirements['xmlsitemap_directory']['severity'] = REQUIREMENT_ERROR;
-      $requirements['xmlsitemap_directory']['description'] = $t('The directory %directory was not found or is not writable by the server. See <a href="@docpage">@docpage</a> for more information.', ['%directory' => xmlsitemap_get_directory(), '@docpage' => 'http://drupal.org/node/30264']);
+      $requirements['xmlsitemap_directory']['description'] = $t('The directory %directory was not found or is not writable by the server. See <a href="@docpage">@docpage</a> for more information.', ['%directory' => xmlsitemap_get_directory(), '@docpage' => 'https://www.drupal.org/node/30264']);
     }
     else {
       $directories = xmlsitemap_check_all_directories();
@@ -69,7 +69,7 @@ function xmlsitemap_requirements($phase) {
         $items = ['#theme' => 'item_list', '#items' => array_keys($directories)];
         $requirements['xmlsitemap_directory']['value'] = $t('Not found or not writable');
         $requirements['xmlsitemap_directory']['severity'] = REQUIREMENT_ERROR;
-        $requirements['xmlsitemap_directory']['description'] = $t('The following directories were not found or are not writable by the server. See <a href="@docpage">@docpage</a> for more information. @directories', ['@directories' => \Drupal::service('renderer')->render($items), '@docpage' => 'http://drupal.org/node/30264']);
+        $requirements['xmlsitemap_directory']['description'] = $t('The following directories were not found or are not writable by the server. See <a href="@docpage">@docpage</a> for more information. @directories', ['@directories' => \Drupal::service('renderer')->render($items), '@docpage' => 'https://www.drupal.org/node/30264']);
       }
     }
     $sitemaps = xmlsitemap_sitemap_load_multiple();
diff --git a/xmlsitemap.module b/xmlsitemap.module
index ea7d0ee..544a4d6 100644
--- a/xmlsitemap.module
+++ b/xmlsitemap.module
@@ -1305,7 +1305,7 @@ function xmlsitemap_get_changefreq_options() {
  * @return \Drupal\core\Language\LanguageInterface
  *   A language object.
  *
- * @todo Remove when http://drupal.org/node/660736 is fixed in Drupal core.
+ * @todo Remove when https://www.drupal.org/node/660736 is fixed in Drupal core.
  */
 function xmlsitemap_language_load($language = LanguageInterface::LANGCODE_NOT_SPECIFIED) {
   $languages = &drupal_static(__FUNCTION__);
@@ -1433,7 +1433,7 @@ function xmlsitemap_run_unprogressive_batch() {
   batch_set($batch);
 
   // We need to manually set the progressive variable again.
-  // @todo Remove when http://drupal.org/node/638712 is fixed.
+  // @todo Remove when https://www.drupal.org/node/638712 is fixed.
   $batch = & batch_get();
   $batch['progressive'] = FALSE;
 
diff --git a/xsl/xmlsitemap.xsl b/xsl/xmlsitemap.xsl
index 284429e..e0012f9 100644
--- a/xsl/xmlsitemap.xsl
+++ b/xsl/xmlsitemap.xsl
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 
-<!-- Copyright (c) 2010  Dave Reid <http://drupal.org/user/53892>
+<!-- Copyright (c) 2010  Dave Reid <https://www.drupal.org/user/53892>
 
      This file is free software: you may copy, redistribute and/or modify it
      under the terms of the GNU General Public License as published by the
