robots.txt & sitemap issue

lovexbytesHOBBY

3 months ago

hello.
i am using nextjs with next-sitemap package to generate sitemap.xml & robots.txt at post-build. the problem is that although i can see it successfully being generated in build logs, whenever i go to the website itself, it still shows old version of robots.txt that is stored in github. moreso, i'm guessing because i don't have sitemap.xml in github at all, it is not shown at all in prod.
both sitemap.xml and robots.txt are generated and put into public which is inside of root directory

0 Replies

3 months ago

This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.

Status changed to Open brody 3 months ago