Skip to main content

Redirect any controller to the URL of your dreams

Project description

License: LGPL-3

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:

  1. Go to Settings > Configuration > SEO Redirections > Create.

  2. Set /blog/our-news-1/post/amazing-post-23 as Original URL.

  3. Set /amazing as Destination URL.

  4. 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:

  1. Go to Settings > Configuration > SEO Redirections > Create.

  2. Set /amazing as Original URL.

  3. Set /blog/our-news-1/post/amazing-post-23 as Destination URL.

  4. Disable Relocate controller.

Now navigate to any of both URLs, and you will get to the blog post, with its original URL untouched.

Try me on Runbot

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

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file odoo8_addon_website_seo_redirection-8.0.1.1.0.99.dev13-py2-none-any.whl.

File metadata

File hashes

Hashes for odoo8_addon_website_seo_redirection-8.0.1.1.0.99.dev13-py2-none-any.whl
Algorithm Hash digest
SHA256 6fc2fd0bb2737f798de11e2e244d725b331fbac3ac4abae730fd238350e21805
MD5 ea1617ad56fbb6cf3e2544026ed7c0e1
BLAKE2b-256 486ad8e820ab00ce7301f2ba419c8330d56bb28660fcdb42591ea1b139c207f1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page