I'm still on 13/03A and have a basic question. I searched through the first 3 pages of results, but not all 10 and didn't find the same situation. This is probably a server config issue and not related to the sitemap.php file, but it doesn't serve a 404 when there is no feed present. One merchant I had on one site closed their program and I removed the feed and deregistered it, but Google keeps telling me about a sitemap error.
If I visit the URL myself, I see
<urlset/> when I'd expect to see a 404 error. But when I used the same sitemap URL as reported in GSC and I changed the sitemap URL to
example.com/shop/sitemap.php?filename=gdrtekcuso.txt (made-up gibberish) it returns the same
<urlset/> as the actual former sitemap does.
The PT shop is not in the root folder and I don't manage the httpd.conf file, so is there anything like an "if" function for sitemap.php that would deal with gone and/or unreal requests?
Thank you for all the great assists over the years.