: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
<?xml version="1.0" encoding="UTF-8"?>
<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="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"/>
<html xmlns="http://www.w3.org/1999/xhtml">
<title>XML Sitemap</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
font-family: Helvetica, Arial, sans-serif;
border-collapse: collapse;
#sitemap tr:nth-child(odd) td {
background-color: #eee !important;
#sitemap tbody tr:hover td {
#sitemap tbody tr:hover td, #sitemap tbody tr:hover td a {
text-decoration: underline;
border-bottom: 1px solid #000;
Generated by <a href="https://yoa.st/1y5" target="_blank" rel="noopener">Yoast SEO</a>, this is an XML Sitemap, meant for consumption by search engines.<br/>
You can find more information about XML sitemaps on <a href="https://sitemaps.org" target="_blank" rel="noopener">sitemaps.org</a>.
<xsl:if test="count(sitemap:sitemapindex/sitemap:sitemap) > 0">
This XML Sitemap Index file contains <xsl:value-of select="count(sitemap:sitemapindex/sitemap:sitemap)"/> sitemaps.
<table id="sitemap" cellpadding="3">
<th width="75%">Sitemap</th>
<th width="25%">Last Modified</th>
<xsl:for-each select="sitemap:sitemapindex/sitemap:sitemap">
<xsl:variable name="sitemapURL">
<xsl:value-of select="sitemap:loc"/>
<a href="{$sitemapURL}"><xsl:value-of select="sitemap:loc"/></a>
<xsl:value-of select="concat(substring(sitemap:lastmod,0,11),concat(' ', substring(sitemap:lastmod,12,5)),concat(' ', substring(sitemap:lastmod,20,6)))"/>
<xsl:if test="count(sitemap:sitemapindex/sitemap:sitemap) < 1">
This XML Sitemap contains <xsl:value-of select="count(sitemap:urlset/sitemap:url)"/> URLs.
<table id="sitemap" cellpadding="3">
<th width="5%">Images</th>
<th title="Last Modification Time" width="15%">Last Mod.</th>
<xsl:variable name="lower" select="'abcdefghijklmnopqrstuvwxyz'"/>
<xsl:variable name="upper" select="'ABCDEFGHIJKLMNOPQRSTUVWXYZ'"/>
<xsl:for-each select="sitemap:urlset/sitemap:url">
<xsl:variable name="itemURL">
<xsl:value-of select="sitemap:loc"/>
<xsl:value-of select="sitemap:loc"/>
<xsl:value-of select="count(image:image)"/>
<xsl:value-of select="concat(substring(sitemap:lastmod,0,11),concat(' ', substring(sitemap:lastmod,12,5)),concat(' ', substring(sitemap:lastmod,20,6)))"/>