Skip to content

Commit b3465ce

Browse files
tapiwamakandigonaViktor
andauthored
fix(seo): drop #/login and #/signup from the sitemap (#31)
Two of the three sitemap entries were fragment URLs. ZimPay uses HashRouter, so those are positions inside one document — Google strips the fragment and sees the root twice, i.e. a sitemap that is two-thirds duplicates. Removed rather than rewritten: there is no separate server URL to point at. Co-authored-by: Viktor <viktor+ws.dc2abab83928@users.noreply.github.com>
1 parent bf8375b commit b3465ce

1 file changed

Lines changed: 5 additions & 10 deletions

File tree

public/sitemap.xml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,13 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2+
<!-- ZimPay routes with HashRouter (see src/App.tsx), so #/login and #/signup are
3+
fragments of this one document, not separate URLs. Google discards the
4+
fragment, which made both entries duplicates of the root — they are removed
5+
rather than "fixed", because there is no separate URL to point at. -->
26
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
37
<url>
48
<loc>https://zimpay.tapiwa.me/</loc>
9+
<lastmod>2026-08-10</lastmod>
510
<changefreq>weekly</changefreq>
611
<priority>1.0</priority>
712
</url>
8-
<url>
9-
<loc>https://zimpay.tapiwa.me/#/login</loc>
10-
<changefreq>monthly</changefreq>
11-
<priority>0.8</priority>
12-
</url>
13-
<url>
14-
<loc>https://zimpay.tapiwa.me/#/signup</loc>
15-
<changefreq>monthly</changefreq>
16-
<priority>0.8</priority>
17-
</url>
1813
</urlset>

0 commit comments

Comments
 (0)