How to dynamically generate sitemap.xml/robots.txt for project using host rewrites? #57545
Unanswered
TrustyTechSG
asked this question in
App Router
Replies: 1 comment 1 reply
-
|
Hey @TrustyTechSG, If you are looking for dynamically create Details and syntax can be found here - Generate a Sitemap & Generate a Robots file |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi we are using rewrites to dynamically generate site base on visiting hostname, which works great. but for the sitemap.xml/robots.txt, as both of them need to place direct under root folder of app directory, then how can we generate them base on the hostname?
Beta Was this translation helpful? Give feedback.
All reactions