Should I exclude dynamic routes while using getServerSideSitemap? #428
Answered
by
arashi-dev
arashi-dev
asked this question in
Q&A
-
I am using but the dynamic routes are in both |
Beta Was this translation helpful? Give feedback.
Answered by
arashi-dev
Jun 28, 2022
Replies: 1 comment
-
I searched more and found out that this is not a problem. but it is better to have the sitemaps as clean as possible (light weight, no outdated url and etc.). so I excluded them. module.exports = {
exclude: ["/server-sitemap.xml", "/products/*", "/product/*", "/gallery/*"]
} |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
arashi-dev
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I searched more and found out that this is not a problem. but it is better to have the sitemaps as clean as possible (light weight, no outdated url and etc.). so I excluded them.