Canonical URL in Website Headers
auto_awesome What this module does
AI-generated from the code · Odoo 12.0Lets you set a canonical domain for your website so search engines see one preferred address per page. Odoo then adds the matching canonical link (and prev/next links for paginated pages) in the page header.
This module helps with search engine optimisation (SEO) by telling search engines which address is the official one for each page of your website.
You can enter a "Canonical domain" in two places: on the website record itself (next to the existing domain field) and in the Website settings screen. The value must include the protocol, for example https://mydomain.com; if you type something without http:// or https://, Odoo refuses to save and shows a validation error.
When a page is displayed, Odoo builds the canonical address automatically. It uses the canonical domain you entered; if that is empty it falls back to the website's own domain, and if that is also empty it uses the base web address configured in the system. The page path is added, including the language prefix when the visitor is not on the website's default language, and the home page is normalised to the site root.
The module also adds a canonical link tag in the page header, plus previous and next links when a page uses a pager with several pages, so search engines can follow the sequence correctly.
A demo page and menu item are included for testing. The module touches the website and res.config.settings models and the website layout template.
Depends on
Models and fields (2)
- website · extends an existing modelcanonical_domain
- res.config.settings · extends an existing modelcanonical_domain
Text generated by AI (DeepSeek) from reading the Odoo 12.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 1 confirmed, 8 with no information of 9 versions.
Sources · Odoo 12.0
Confirmed on 2026-11-03 in branch 12.0 of OCA/website.
terminal Installation and usage
No verified informationInstallation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.