Generating dynamic URLs
See original GitHub issueHello there,
We are using Next 9.3 and when I run my server with this code
const sitemap = require('nextjs-sitemap-generator');
sitemap({
baseUrl: 'https://scale.com',
ignoredPaths: ['admin'],
pagesDirectory: __dirname + "/pages",
targetDirectory : __dirname + '/public/static/',
nextConfigPath: __dirname + "/next.config.js",
ignoredExtensions: [
'png',
'jpg'
],
pagesConfig: {
'/login': {
priority: '0.5',
changefreq: 'daily'
}
}
});
I can’t get the dynamic urls generated
<lastmod>2020-04-16</lastmod>
</url><url><loc>https://scale.com/legal/[slug]</loc>
Thank you very much!
Issue Analytics
- State:
- Created 3 years ago
- Comments:18 (7 by maintainers)
Top Results From Across the Web
Create Dynamic Links - Firebase
Using the Dynamic Link Builder API on iOS, Android, and Flutter. This is the preferred way to dynamically create links in your app...
Read more >Generating dynamic URLs in Flask - GeeksforGeeks
Generating dynamic URLs in Flask · Dynamic Routing: It is the process of getting dynamic data(variable names) in the URL and then using...
Read more >Dynamic URLs vs. static URLs | Google Search Central Blog
What is a dynamic URL? ... If the content of a site is stored in a database and pulled for display on pages...
Read more >Generate URL for dynamic webpage - Stack Overflow
The url generated will then be like http://www.example.com/customvideo/10010 The url sees the "10010" part, looks up the folder, gets the json ...
Read more >Create a Dynamic Link - Firebase Help - Google Support
Click New dynamic link. Enter at least a Link name and Link URL. Optionally, enter advanced information about your link. Click Create link....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Well, I didn’t see that. I’m going to see all the docs and make a decision about the new integration
I managed to get dynamic paths working without exportPathMap. Rough code following, hopefully it’s helpful: