summaryrefslogtreecommitdiff
path: root/resources/views
diff options
context:
space:
mode:
authorGreg Roach <greg@subaqua.co.uk>2022-04-23 21:21:43 +0100
committerGreg Roach <greg@subaqua.co.uk>2022-04-23 21:21:43 +0100
commit7e1a70f919760b36ee05568bafb6f2f13dbaf511 (patch)
tree72c5b15c23223119382cf32e44f09cb0852783e0 /resources/views
parentde7806433751628aac0849317c07c2ed20d673ff (diff)
downloadwebtrees-7e1a70f919760b36ee05568bafb6f2f13dbaf511.tar.gz
webtrees-7e1a70f919760b36ee05568bafb6f2f13dbaf511.tar.bz2
webtrees-7e1a70f919760b36ee05568bafb6f2f13dbaf511.zip
Revert "Use HTTPS links for sitemap"
This reverts commit 43d034fe217afe449f8b3738e61546a11e0b6554.
Diffstat (limited to 'resources/views')
-rw-r--r--resources/views/modules/sitemap/sitemap-file-xml.phtml2
-rw-r--r--resources/views/modules/sitemap/sitemap-index-xml.phtml2
-rw-r--r--resources/views/modules/sitemap/sitemap-xsl.phtml2
3 files changed, 3 insertions, 3 deletions
diff --git a/resources/views/modules/sitemap/sitemap-file-xml.phtml b/resources/views/modules/sitemap/sitemap-file-xml.phtml
index 3ed7500040..510c335448 100644
--- a/resources/views/modules/sitemap/sitemap-file-xml.phtml
+++ b/resources/views/modules/sitemap/sitemap-file-xml.phtml
@@ -17,7 +17,7 @@ use Illuminate\Support\Collection;
?>
<<?php /* Beware short open tags in PHP <8.0 */ ?>?xml version="1.0" encoding="UTF-8"?>
<<?php /* Beware short open tags in PHP <8.0 */ ?>?xml-stylesheet type="text/xsl" href="<?= e($sitemap_xsl) ?>"?>
-<urlset xmlns="https://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://www.sitemaps.org/schemas/sitemap/0.9 https://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
+<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 https://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
<url>
<loc><?= e(route(TreePage::class, ['tree' => $tree->name()])) ?></loc>
<priority>1.0</priority>
diff --git a/resources/views/modules/sitemap/sitemap-index-xml.phtml b/resources/views/modules/sitemap/sitemap-index-xml.phtml
index a3487696f7..2a052b2ae3 100644
--- a/resources/views/modules/sitemap/sitemap-index-xml.phtml
+++ b/resources/views/modules/sitemap/sitemap-index-xml.phtml
@@ -25,7 +25,7 @@ use Illuminate\Support\Collection;
?>
<<?php /* Beware short open tags in PHP <8.0 */ ?>?xml version="1.0" encoding="UTF-8"?>
<<?php /* Beware short open tags in PHP <8.0 */ ?>?xml-stylesheet type="text/xsl" href="<?= e($sitemap_xsl) ?>"?>
-<sitemapindex xmlns="https://www.sitemaps.org/schemas/sitemap/0.9">
+<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<?php foreach ($count_families as $tree_name => $count) : ?>
<?php for ($i = 0; $i <= $count / $records_per_volume; ++$i) : ?>
diff --git a/resources/views/modules/sitemap/sitemap-xsl.phtml b/resources/views/modules/sitemap/sitemap-xsl.phtml
index c8b8feeb4c..d5d0c77702 100644
--- a/resources/views/modules/sitemap/sitemap-xsl.phtml
+++ b/resources/views/modules/sitemap/sitemap-xsl.phtml
@@ -2,7 +2,7 @@
<xsl:stylesheet version="2.0"
xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns:image="http://www.google.com/schemas/sitemap-image/1.1"
-xmlns:sitemap="https://www.sitemaps.org/schemas/sitemap/0.9"
+xmlns:sitemap="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" version="1.0" encoding="UTF-8" indent="yes"/>
<xsl:template match="/">