Website SEO Redirection
by Tecnativa https://tecnativa.com/ , LasLabs https://tecnativa.com/ , Odoo Community Association (OCA) https://tecnativa.com/Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
Website Builder (website)
|
Technical Name |
website_seo_redirection |
License | LGPL-3 |
Website | https://tecnativa.com/ |
Versions | 8.0 9.0 10.0 |
Website SEO Redirection
This module extends the functionality of the website to support using custom URLs and allow you to improve the SEO.
Usage
Moving a page to another URL
Let's assume you created a blog post entry that is absolutely amazing and you want a fixed and beautiful URL for it. That entry is posted in https://example.com/blog/our-news-1/post/amazing-post-23, but you want it at https://example.com/amazing. You need to:
- Go to Website Admin > SEO Redirections > Create.
- Set /blog/our-news-1/post/amazing-post-23 as Original URL.
- Set /amazing as Destination URL.
- Enable Relocate controller.
Now navigate to any of both URLs, and you will get to the blog post, but with the URL you wanted.
Setting a URL as a redirection to another one
Let's assume you created a blog post entry that is absolutely amazing and you want a shortened URL that redirects to it. That entry is posted in https://example.com/blog/our-news-1/post/amazing-post-23, but you want that https://example.com/amazing redirects to it. You need to:
- Go to Settings > Configuration > SEO Redirections > Create.
- Set /amazing as Original URL.
- Set /blog/our-news-1/post/amazing-post-23 as Destination URL.
- Disable Relocate controller.
Now navigate to any of both URLs, and you will get to the blog post, with its original URL untouched.
Known issues / Roadmap
- Redirections are cached. If you hit one once, and then change it, you will mostly have to clear your browser's cache to avoid hitting a 404 error.
- Make it multiwebsite-compatible.
Notes for migration to v10:
- #4146 was fixed, so we could make the Promote panel load data from an extended website.seo.metadata class.
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
Images
- Odoo Community Association: Icon.
Contributors
- Jairo Llopis <[email protected]>
- Dave Lasley <[email protected]>
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.
Please log in to comment on this module
Report comment
Any abuse of this reporting system will be penalizedGreat idea, missing some key features
Note that this is very simple module. It does it's job well, but there are some risks and limitations. First of all changes are not written into sitemap.xml. That really affects SEO as they aren't really known to the browsers. So it should not be really named "SEO Redirection". Second of all it's not a real 301 redirect, i.e. you will be always first directed to original page. This affects the speed quite markedly. And last - it breaks the search in ecommerce. It's probably related to the previous 2 points, but just so you know the risk.
There are no comments yet!