Angular 8 sitemap and robots.txt

Discussão em 'Angular' iniciado por Gaetan56, Dezembro 18, 2024.

  1. Gaetan56

    Gaetan56 Guest

    I created an angular application using angular 8. I am working on referencing my website on Google. I have added a sitemap.xml and robot.txt at the route of the project, however when I try to access the file in my browser by doing so:

    https://blablawebsite.fr/sitemap.xml

    The routing module is picking up the route and can't find the page. How can I make sure sitemap.xml and robots.txt are not picked by the routing module?

    Continue reading...

Compartilhe esta Página