Canonical URL in Website Headers
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file odoo11_addon_website_canonical_url-11.0.1.0.0.99.dev5-py2.py3-none-any.whl
.
File metadata
- Download URL: odoo11_addon_website_canonical_url-11.0.1.0.0.99.dev5-py2.py3-none-any.whl
- Upload date:
- Size: 77.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60c68d5c4781a8ec5db47b41a0d5793ea9c4c0ca336462c85501ae18d35f2a60 |
|
MD5 | 7c832b27a03f6a7c072fda5e1dc83bfe |
|
BLAKE2b-256 | a98521a0309c8ecd6676bf17139cba88be3e9427417e5882828701b1e8d53efa |