Hello Netlify team!
My project on Next.js and Netlify has a basePath and also has a sitemap in the public folder. When I test it on deploy-preview, everything is fine and I can check my sitemap. But when I deploy it in production, my sitemap shows 404 error.
I’ve already downloaded deploy folder and there is sitemap here.
As for next.config.js there is basePath also: basePath: "basePath",
What do I have to do to make sitemap accessible on production?
Can you please send a link to the deploy that is not working? Looking in your deploy logs for production, we cannot seem to find this issue. This will help us look into this further.
Hi, @alisakova. I have created a support ticket to troubleshoot this privately as this site is on a team plan which includes private helpdesk support.
We should have already sent you an email about this in regards to support ticket # 90706. Please reply to that email to continue troubleshooting. However, please do reply here if you do not see that email and we’ll resend it.