A website's site maps are crucial for any website. The search engine will use website sitemaps to index the pages of the website. In this recipe, we will add book details pages to the sitemap.
Managing sitemaps for the website
Getting ready...
For this recipe, we will be using the my_library module from the previous recipe. If you want to check the current sitemap in Odoo, open <your_odoo_server_url>/sitemap.xml in your browser. This will not have the book's URL in it.
How to do it...
Follow these steps to add a book's page to sitemap.xml:
- Import...