Developer forum

Forum » CMS - Standard features » Sitemap.xml and Robots.txt not working

Sitemap.xml and Robots.txt not working

Søren Ravn Lund
Reply

Hello,

I cannot get the Sitemap.xml and Robots.txt to work.

Regarding the sitemap.

 

Both just return an 404 not found page.

What am I missing?

I'm running 9.8.4.

2020-05-01_1009.png sitemapsettings.png

Replies

 
Nicolai Pedersen
Reply

Where do you host? With us? What IIS version?

Could be a missing StaticFileModule in your handlers section in IIS/web.config.

 
Søren Ravn Lund
Reply

We host it ourselves - IIS 10.

The StaticModule is in web.config aswell as IIS. Watch screendumps.

 

2020-05-04_0747.png 2020-05-04_0750.png
 
Nicolai Pedersen
Reply

That is your modules (first dump). You need to look at your handler mappings.

If you host your self you need to figure out why the Dynamicweb 404 handler is not hit requests to IIS. We will be happy to move the customer to our Cloud and we will take care of it :-)

BR Nicolai

 
Søren Ravn Lund
Reply

Found it - we had httpErrors errorMode to Detailed in Web.Config - should be Custom.

Thanks for your help Nicolai.

 
Nicolai Pedersen
Reply
This post has been marked as an answer

yes

Votes for this answer: 1

 

You must be logged in to post in the forum