I made a custom route that points to a static file in my theme folder. It’s working perfect, except that the sitemap.xml didn’t pull this new route. How can I get my route to be displayed in the sitemap.xml and also be found by Google search.
Did you have a method to create/update a sitemap file and save it to /sitemap.xml periodicity??
No. Every time I make new posts or pages, the sitemap always updates automatically. In the one I’m having problems with, I created the route directly in the routes.yaml file.
The route: /gerador-de-cpf-automatico/: geradordecpf
routes:
/gerador-de-cpf-automatico/: geradordecpf
collections:
/:
permalink: /{slug}/
template: index
taxonomies:
tag: /tag/{slug}/
author: /author/{slug}/
I made a custom route that points to a static file in my theme folder. It’s working perfect, except that the sitemap.xml didn’t pull this new route.
did you find any solution for this
@Josias_Pereira