Website Canonical URL
In Website Builder, eCommerce, Blog, etc. Odoo add parameters in URLs, like category, page or sorting. This is a bad thing for SEO because it creates DUST (Duplicate URL, Same Text) and Duplicate Content. That is to say, multiple URLs that leads to the same page search engine’s index.
This module doesn’t prevent Odoo to generate such URLs, but it helps to reduce the search engine’s index size by adding canonical URLs for each page : It insert a HTML tag in the html header that contains a canonical URL for the current page, no matter what query string is. Additionally you’ll have rel=next and rel=prev links whenever a pager is found.
Configuration
Canonical URL is absolute. The domain name by default matches
“Settings / Technical / System Parameters / web.base.url”
This might not be enough to make sure that you have always one and only one URL to access your resources.
You can force the domain by setting “Canonical domain” field into website settings.
How to verify
To check this on your website inspect the source of a page: you’ll find canonical and prev/next “<link />” elements inside “<head />”.
On a demo site (like Runbot) you can go to “/page/website_canonical_url.canonical_demo” and inspect page’s source.
Bug Tracker
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback.
Credits
Contributors
Thomas Rehn <thomas.rehn@initos.com>
Rami Alwafaie <rami.alwafaie@initos.com>
Jairo Llopis <jairo.llopis@tecnativa.com>
Xavier Brochard <zeroheure@zeroheure.info>
Simone Orsi <simone.orsi@camptocamp.com>
Maintainer
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
To contribute to this module, please visit https://odoo-community.org.
Metadata
Release files for odoo12-addon-website-canonical-url 12.0.1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| odoo12_addon_website_canonical_url-12.0.1.0.2-py3-none-any.whl | Python 3 | none | any | Details for odoo12_addon_website_canonical_url-12.0.1.0.2-py3-none-any.whl |
Release files / odoo12_addon_website_canonical_url-12.0.1.0.2-py3-none-any.whl
| Download URL | odoo12_addon_website_canonical_url-12.0.1.0.2-py3-none-any.whl |
|---|---|
| Size | 77.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2d79dcfa9a09aa147010aae49b81e3774cc9042dcce3a990e55848ac3abb2851
|
|
BLAKE2b-256 checksum How to use checksums |
8d78fb66efc78a6c09d028cda03950506c88899bd8de4be7b8343b2e53f40515
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/30.4.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.5.3
|
Security for odoo12-addon-website-canonical-url 12.0.1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.