# Folders and canonicals

**URL:** <https://forums.realmacsoftware.com/t/folders-and-canonicals/47809>\
**Category:** Elements\
**Created:** [May 28, 2025, 7:05pm UTC](https://forums.realmacsoftware.com/t/folders-and-canonicals/47809 "2025-05-28T19:05:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jbyfield](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/jbyfield/32/82_2.png) [@jbyfield](https://forums.realmacsoftware.com/u/jbyfield)\
**Post date:** [May 28, 2025, 7:05pm UTC](https://forums.realmacsoftware.com/t/folders-and-canonicals/47809/1 "2025-05-28T19:05:08Z")

</div>

A week or so after publishing an [Elements](https://elementsapp.io/) site over the top of a RWC site Google has come back to me saying that _Search Console has identified that some pages on your site are not being indexed due to the following new reason: Alternate page with proper canonical tag._

Just wondering if that is going to be related to having a folder of pages and obviously the folder itself does not have a canonical?

If so I won’t worry about it but with RWC I used to generate a third party sitemap.xml file so also wondering whether that would fix it?

---

<div class="post-metadata">

**Author:** ![dan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dan/32/28516_2.png) [@dan](https://forums.realmacsoftware.com/u/dan)\
**Post date:** [May 29, 2025, 11:11am UTC](https://forums.realmacsoftware.com/t/folders-and-canonicals/47809/2 "2025-05-29T11:11:53Z")

</div>

If you’re seeing indexing issues or old pages hanging around in Google, it might be worth fully clearing out your old Classic site and any legacy files on your server. Then re-upload a fresh copy of your [Elements](https://elementsapp.io/)-built site, it’s the best way to avoid conflicts and make sure only your new content gets picked up.

---

<div class="post-metadata">

**Author:** ![jbyfield](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/jbyfield/32/82_2.png) [@jbyfield](https://forums.realmacsoftware.com/u/jbyfield)\
**Post date:** [May 29, 2025, 7:14pm UTC](https://forums.realmacsoftware.com/t/folders-and-canonicals/47809/3 "2025-05-29T19:14:05Z")

</div>

It was a clean install, I had deleted everything server side.

When I checked the sitemap I got this -

_**Incorrect http header content-type: “text/html” (expected: “application/xml”)**_

But then because Google Analytics is showing no visits since I uploaded the site it narrows things down to me not adding the analytics code to the site. Doh. Will sort that and see if it fixes things.

---

<div class="post-metadata">

**Author:** ![jbyfield](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/jbyfield/32/82_2.png) [@jbyfield](https://forums.realmacsoftware.com/u/jbyfield)\
**Post date:** [May 29, 2025, 7:34pm UTC](https://forums.realmacsoftware.com/t/folders-and-canonicals/47809/4 "2025-05-29T19:34:01Z")

</div>

Resolved - was related to the missing Google Analytics code.

---

<div class="post-metadata">

**Author:** ![dan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dan/32/28516_2.png) [@dan](https://forums.realmacsoftware.com/u/dan)\
**Post date:** [May 30, 2025, 7:39am UTC](https://forums.realmacsoftware.com/t/folders-and-canonicals/47809/5 "2025-05-30T07:39:35Z")

</div>

Glad you got it sorted 😅
