Managing SEO options
Odoo provides built-in support for SEO for templates (pages). However, some templates are used in multiple URLs. For example, in an online shop, product pages are rendered with the same template and different product data. For these kinds of cases, we want separate SEO options for each URL.
Getting ready
For this recipe, we will be using the my_library
module from the previous recipe. We will store separate SEO data for each book details page. Before developing this recipe, you should test the SEO options in the different book pages. You can get an SEO dialog from the Promote drop-down menu on the top, as shown in the following figure:
If you test SEO options in different book details pages, you will notice that changing the SEO data in one book page will reflect on all book pages. We will fix this issue in this recipe.
How to do it...
To manage separate SEO options...