New article does not go to sitemap.xml in Next.js
The new guide works, but after entering sitemap.xml his address is missing.
Where's the problem coming from?
The list of service in sitemap may be static or may not use the same source as routing. The map could have been generated from an old set.
What to do step by step?
1. Open public /sitemap.xml and search for exact service.
2 . Check the implementation of src/app/sitemap.ts and import data from which subpages are created.
3 . Compare all service with genericStaticParams with address in sitemap.
4 . Verify whether the new version of the code has actually been implemented into production.
5 . Test each sitemap entry with HTTP response, without redirecting to an unavailable version.
Correction test and important trap
The new guide is in sitemap and returns 200 after opening under the correct domain.
The mere presence of the URL in the site map does not guarantee Google indexation.