wvuweb / cleanslate-cms

A place to file issues and view releases for CleanSlate CMS. http://cleanslatecms.wvu.edu
6 stars 0 forks source link

Sitemap Update: Remove /[default-path] and Replace with / #270

Closed dmolsen closed 2 years ago

dmolsen commented 2 years ago

Statwax wants us to modify our sitemap feature. Currently, this is how the default page for online.wvu.edu is represented in the sitemap:

<url>
<loc>https://online.wvu.edu/home</loc>
<lastmod>2022-01-12T08:52:58-05:00</lastmod>
</url>

They would like it to be:

<url>
<loc>https://online.wvu.edu/</loc>
<lastmod>2022-01-12T08:52:58-05:00</lastmod>
</url>

I think looking at the default page for a site and just making it the base URL in the settings is a good enough change.

adamjohnson commented 2 years ago

Related to #263.

nreckart commented 2 years ago

@dmolsen Does it hurt to have items for both URLs in there? So https://online.wvu.edu/ and https://online.wvu.edu/home. Or should it ONLY be the root?

dmolsen commented 2 years ago

Only the root.