'/sitemap' vs '/sitemap.xml' in the route
Hi, I finally figured out how everything works, and now I'm building my dynamic sytemap script (i'm having all the code in controller, instead of routes file).
My last consern is whether to use /sitemap
or /sitemap.xml
in the route.
Per the guide it is /sitemap
but I noticed that a general standard is to store it with extension in robots.txt
.
Is there any difference for the search engines? Should I better make it with .xml at the end of the route, or it's better without? and why?
thank you for explaining.