v 8.0 v 9.0 v 10.0 v 11.0 Third Party 666
Download for v 10.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Website Builder (website)
Technical Name website_canonical_url
LicenseAGPL-3
Websitehttps://github.com/OCA/website
Versions 9.0 8.0 11.0 10.0
You bought this module and need support? Click here!
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.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.