diff --git a/xmlsitemap.pages.inc b/xmlsitemap.pages.inc
index 565cacd..dbe2d94 100644
--- a/xmlsitemap.pages.inc
+++ b/xmlsitemap.pages.inc
@@ -136,7 +136,7 @@ function xmlsitemap_output_xsl() {
   // Make sure the strings in the XSL content are translated properly.
   $replacements = array(
     'Sitemap file' => t('Sitemap file'),
-    'Generated by the <a href="http://drupal.org/project/xmlsitemap">Drupal XML sitemap module</a>.' => t('Generated by the <a href="@link-xmlsitemap">Drupal XML sitemap module</a>.', array('@link-xmlsitemap' => 'http://drupal.org/project/xmlsitemap')),
+    'Generated by the <a href="https://drupal.org/project/xmlsitemap">Drupal XML sitemap module</a>.' => t('Generated by the <a href="@link-xmlsitemap">Drupal XML sitemap module</a>.', array('@link-xmlsitemap' => 'https://drupal.org/project/xmlsitemap')),
     'Number of sitemaps in this index' => t('Number of sitemaps in this index'),
     'Click on the table headers to change sorting.' => t('Click on the table headers to change sorting.'),
     'Sitemap URL' => t('Sitemap URL'),
diff --git a/xsl/xmlsitemap.xsl b/xsl/xmlsitemap.xsl
index 284429e..d16b516 100644
--- a/xsl/xmlsitemap.xsl
+++ b/xsl/xmlsitemap.xsl
@@ -55,7 +55,7 @@
         </xsl:choose>
 
         <div id="footer">
-          <p>Generated by the <a href="http://drupal.org/project/xmlsitemap">Drupal XML sitemap module</a>.</p>
+          <p>Generated by the <a href="https://drupal.org/project/xmlsitemap">Drupal XML sitemap module</a>.</p>
         </div>
       </body>
     </html>
