Quantcast
Channel: Dynamic sitemap for NextJs 13 - Stack Overflow
Browsing latest articles
Browse All 4 View Live

Answer by Gabe Roffman for Dynamic sitemap for NextJs 13

I was having this issue until I realized that it was that I had a basePath set in the next.config.js and I was not using that in my request. So I found that after I fixed my request url to include the...

View Article



Image may be NSFW.
Clik here to view.

Answer by Yilmaz for Dynamic sitemap for NextJs 13

sitemap.ts file should be in the app directory.Then you have to build the app.npm run buildand then runnpm run start

View Article

Answer by Flavio Scimeca for Dynamic sitemap for NextJs 13

Try replacing URL with the const rootUrl.const rootUrl = "http://localhost:3000"const blogPosts = blogPostEntries.map((entry: TransformedEntry) => ({ url: `${rootUrl}/blog/${entry.id}`,...

View Article

Dynamic sitemap for NextJs 13

I am following this guide to create a dynamic sitemap for NextJs 13.4.6 https://claritydev.net/blog/nextjs-dynamic-sitemap-pages-app-directoryThe issue I am having is the bottom of the article is where...

View Article
Browsing latest articles
Browse All 4 View Live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>