Managing SEO options
Odoo has built-in SEO features for templates (pages). However, some templates are used for multiple URLs. For example, in an online shop, each product page uses the same template but different product data. For these cases, we need different SEO options for each URL.
Getting ready
For this recipe, we will be using the my_hostel
module. We will store separate SEO data for each hostel details page. Before following this recipe, you should test the SEO options in the different hostel pages. You can get an SEO dialog from the Promote drop-down menu on the top, as shown in the following screenshot:
Figure 14.4 – Opening the SEO configuration for a page
If you test SEO options on different hostel details pages, you will notice that changing the SEO data in one book page will reflect on all hostel pages. We will fix this issue in this recipe.
How to do it...
To manage separate SEO options for each hostel, follow these steps...