Developer forum

Forum » CMS - Standard features » Sitemap only shows 1st level

Sitemap only shows 1st level

Harald Brouwers
Reply

Hi,

We have a website and when we call the /sitemap.xml it only shows pages on level one, in our case the hompage:

<urlset>
  <url>
    <loc>https://sitename.azurewebsites.net/homepage</loc>
  </url>
</urlset>

I enabled the sitemap for all pages in the admin, but that didn't work.
My guess is that because all other pages are in folders, they are not showing in the sitemap. This is our page structure:

How do I get all pages to show in the sitemap?


Replies

 
Oleg Rodionov Dynamicweb Employee
Oleg Rodionov
Reply
This post has been marked as an answer

Hi Harald,

Try to set the options in properties of your folder as follow (Screen1). Uncheck the option (Screen2) If you wanna show the folder name in URL of pages inside the folder. It's tested on last DW947 and works properly.

BR, Oleg QA   

Screen1.png Screen2.png
Votes for this answer: 1
 
Harald Brouwers
Reply

Thanx Oleg, that solved it!

 

You must be logged in to post in the forum