# RWC sitemap.xml - Canonical

**URL:** <https://forums.realmacsoftware.com/t/rwc-sitemap-xml-canonical/45995>\
**Category:** RapidWeaver Classic\
**Created:** [January 20, 2025, 4:53pm UTC](https://forums.realmacsoftware.com/t/rwc-sitemap-xml-canonical/45995 "2025-01-20T16:53:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![PLM](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/plm/32/31094_2.png) [@PLM](https://forums.realmacsoftware.com/u/PLM)\
**Post date:** [January 20, 2025, 4:53pm UTC](https://forums.realmacsoftware.com/t/rwc-sitemap-xml-canonical/45995/1 "2025-01-20T16:53:14Z")

</div>

The .xml file made by RWC makes links such as: [https://domain.com/index.html](https://domain.com/index.html)  
But I want Tidy Website Links: [https://domain.com/](https://domain.com/)

I also use this in the Inspector HTML Code window Head: \<link rel=“canonical” href="[https://domain.com/”/](https://domain.com/%E2%80%9D/)\>

How can I remove: /index.html in the RWC sitemap.xml?  
I can manually do this with BBEdit or make a sitemap.txt file instead. But every time I upload files the sitemap.xml will be replaced.

I asked this in April 2024 but got no reply.

 ![tidy links](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/9/8/984d053f8ea71f0580fe59ce5a7c7ac855be32ab.png)

---

<div class="post-metadata">

**Author:** ![differentdan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/differentdan/32/33530_2.png) [@differentdan](https://forums.realmacsoftware.com/u/differentdan)\
**Post date:** [January 20, 2025, 5:49pm UTC](https://forums.realmacsoftware.com/t/rwc-sitemap-xml-canonical/45995/2 "2025-01-20T17:49:29Z")

</div>

Hey @PLM

According to Google they want the Sitemap to be the full absolute URL.

> **[Build and Submit a Sitemap | Google Search Central  | ...](https://developers.google.com/search/docs/crawling-indexing/sitemaps/build-sitemap)**
>
> Google supports several sitemap formats. Follow this guide to learn about formats, how to build a sitemap, and how to submit a sitemap to Google.

It shouldn’t be a problem if the Sitemap uses the full absolute URL and you enable Tidy Website Links so /index.html or /index.php don’t show up in the browser’s address bar when visiting the page.

Are you having problems with something in Google Search Console that you are trying to resolve?

---

<div class="post-metadata">

**Author:** ![PLM](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/plm/32/31094_2.png) [@PLM](https://forums.realmacsoftware.com/u/PLM)\
**Post date:** [January 20, 2025, 6:34pm UTC](https://forums.realmacsoftware.com/t/rwc-sitemap-xml-canonical/45995/3 "2025-01-20T18:34:15Z")

</div>

Google SEO wants \<link rel=“canonical” href="[https://domain.com/”/](https://domain.com/%E2%80%9D/)\>  
with or without tidy links, not both. I put this plus **name/** on every page and then no problem on news sites (copy the full url from General Setting under Encoding). Canonical seems to override .xml.
