Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

License: AGPL-3

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.

Try me on Runbot

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

Maintainer

Odoo Community Association

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 odoo10-addon-website-canonical-url 10.0.1.1.0.99.dev3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for odoo10-addon-website-canonical-url 10.0.1.1.0.99.dev3
File Interpreter ABI Platform
odoo10_addon_website_canonical_url-10.0.1.1.0.99.dev3-py2-none-any.whl Python 2 none any Details

Release files / odoo10_addon_website_canonical_url-10.0.1.1.0.99.dev3-py2-none-any.whl

Download URL odoo10_addon_website_canonical_url-10.0.1.1.0.99.dev3-py2-none-any.whl
Size 74.1 kB
Tags Python 2
SHA-256 checksum
How to use checksums
2cd8b8092e728d10917ff3db117504aa9c676c9716c66d28266482060e741ffe
BLAKE2b-256 checksum
How to use checksums
2241e1027d978cd15284319f1a25101ad3325654147691a87e1fa38ecd3ae6e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.5
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page