Skip to Content
Menu

Static Website Link

by
Odoo

40.92

v 18.0 Third Party
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies eCommerce (website_sale)
Discuss (mail)
Website (website)
Invoicing (account)
Lines of code 234
Technical Name ecomm_static_link
LicenseOPL-1
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies eCommerce (website_sale)
Discuss (mail)
Website (website)
Invoicing (account)
Lines of code 234
Technical Name ecomm_static_link
LicenseOPL-1

🔗 Static Website Link

Fix Odoo's Dynamic URL Problem - Preserve Your SEO Rankings

⚠️ The Odoo Dynamic URL Problem

Odoo generates URLs dynamically based on the Display Name field. This means every time you change a product name, category name, or blog post title, the URL automatically changes too. This is a major SEO problem because:

  • Search engines lose track of your pages when URLs change
  • All your hard-earned SEO rankings disappear overnight
  • Bookmarks and social media links become broken
  • You lose valuable backlinks pointing to old URLs
  • Users get 404 errors when visiting old links

✅ The Solution: Static Website Link Module

This module solves the dynamic URL problem by creating stable, SEO-friendly URLs that never change, even when you update product names or titles.

After installation, the module automatically copies the current Display Name for each activated language in your Odoo system and stores it as a static URL. From that point forward, you can freely change product names, category names, or blog titles without affecting your SEO rankings.

How It Works

🔧 Automatic Setup

During installation, the module automatically copies the current Display Name for all products, categories, and blog posts in every active language and stores it as a static URL.

🛡️ URL Stability

Once set up, your URLs remain stable forever. You can change product names, category names, or blog titles without breaking existing links or losing SEO value.

🌍 Multi-language Support

Static URLs are created for each active language in your system, ensuring SEO benefits across all your localized content.

⚙️ Custom Control

You can manually edit static URLs to include specific keywords or make them more SEO-friendly while maintaining URL stability.

URL Comparison

❌ Before (Dynamic URLs)

Product Name: "Wireless Headphones"

/shop/product/wireless-headphones-123

After changing name to "Bluetooth Headphones":

/shop/product/bluetooth-headphones-123
⚠️ Old URL becomes 404 - SEO rankings lost!

✅ After (Static URLs)

Product Name: "Wireless Headphones"

/shop/product/wireless-headphones-123

After changing name to "Bluetooth Headphones":

/shop/product/wireless-headphones-123
✅ URL stays the same - SEO rankings preserved!

🚀 SEO Benefits

  • Preserved Search Rankings: URLs never change, so search engines maintain your page authority
  • No Broken Links: Existing bookmarks, social media links, and backlinks continue to work
  • Stable Analytics: Maintain consistent tracking data without URL changes
  • Better User Experience: Users can rely on stable, bookmarkable URLs
  • SEO-Friendly URLs: Static URLs can include relevant keywords for better rankings
  • Multi-language SEO: Each language gets its own optimized static URL

What Gets Protected

🛍️ Products

All product URLs become static. Change product names without losing SEO value or breaking existing links.

📂 Categories

Product category URLs remain stable. Reorganize your catalog without affecting category page rankings.

📝 Blog Posts

Blog post URLs stay consistent. Update titles and content without breaking social media shares or bookmarks.

📚 Blog Categories

Blog category URLs remain stable. Restructure your blog without losing category page SEO.

Installation Process

  1. Install the Module: Install "Static Website Link" through Odoo Apps
  2. Automatic Setup: The module automatically copies current Display Names for all content in all active languages
  3. URL Preservation: All existing URLs are preserved and become static
  4. Future Changes: You can now change names freely without affecting URLs
# Post-installation Hook Automatically:
- Copies display_name to website_url_static for all products
- Copies display_name to website_url_static for all categories  
- Copies display_name to website_url_static for all blog posts
- Copies display_name to website_url_static for all blog categories
- Processes all active languages in your system

📊 Expected Results

  • 100% URL Stability: No more broken links from name changes
  • Preserved SEO Rankings: Maintain all existing search engine positions
  • Improved User Trust: Stable URLs build confidence with visitors
  • Better Analytics: Consistent tracking without URL changes
  • Future-Proof SEO: Safe to make content updates without SEO penalties

⚠️ Important Note

This module is essential for any Odoo website that values SEO. Without it, every name change destroys your search engine rankings and creates broken links. Install this module early to protect your SEO investment.

Odoo Proprietary License v1.0

This software and associated files (the "Software") may only be used (executed,
modified, executed after modifications) if you have purchased a valid license
from the authors, typically via Odoo Apps, or if you have received a written
agreement from the authors of the Software (see the COPYRIGHT file).

You may develop Odoo modules that use the Software as a library (typically
by depending on it, importing it and using its resources), but without copying
any source code or material from the Software. You may distribute those
modules under the license of your choice, provided that this license is
compatible with the terms of the Odoo Proprietary License (For example:
LGPL, MIT, or proprietary licenses similar to this one).

It is forbidden to publish, distribute, sublicense, or sell copies of the Software
or modified copies of the Software.

The above copyright notice and this permission notice must be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

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 or have a question related to your purchase, please use the support page.