| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
eCommerce (website_sale)
• Discuss (mail) • Website (website) • Invoicing (account) |
| Lines of code | 334 |
| Technical Name |
softg_product_public_url |
| License | OPL-1 |
| Website | https://www.softg.dev |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
eCommerce (website_sale)
• Discuss (mail) • Website (website) • Invoicing (account) |
| Lines of code | 334 |
| Technical Name |
softg_product_public_url |
| License | OPL-1 |
| Website | https://www.softg.dev |
SoftG Official Module · v19.0.1.0.2
Product Public URL & Clean Slug
SEO-friendly product URLs with automatic 301 redirects on rename - never break a link again.
The problem
Odoo's default product URLs end with the database ID - useful for the router, ugly for customers and search engines. Third-party themes often inject SKU prefixes too, making URLs even messier.
You also can't rename a product without breaking every inbound link, search engine cache, customer bookmark, and marketplace listing pointing at the old URL.
Before
/shop/65492163-dell-latitude-5330-notebook-warranty-1960
· SKU prepended · ID suffix at the end
· Breaks on rename · Bad for SEO
After
/shop/dell-latitude-5330-notebook-13-3-fhd-intel-core-i5
· Clean name-based slug · 301 created on rename
· SEO + marketplace friendly · Both URLs resolve
What you get
â Clean URLs
Name-based slugs replace the default name-id pattern everywhere Odoo emits product URLs. Works with any theme.
⺠Auto 301 redirects
Rename a product - a 301 from old URL to new is created automatically. Bookmarks, Google cache, and marketplace listings keep working.
â public_url field
Absolute storefront URL on every product.template record. Ready to feed Bazaraki, Google Shopping, Facebook Catalog.
# Smart slug chain
slug(name) â SKU â product-id fallback. Auto-handles collisions, special characters, and empty product names safely.
â Auto-truncation
Long names truncate at word boundary. Default 80 chars, configurable via System Parameter. No mid-word cuts.
â Daily cron
Backfills missing slugs and refreshes public_url fields automatically. 820 products updated in 3 seconds.
â¹ Bulk regenerate
Select products from list view â Action â Regenerate Public URLs. Handles any scale, runs fast.
â No infra changes
Pure Odoo module. No nginx config, no DNS changes, no Cloudflare setup. Install and it works immediately.
â Multi-website aware
Respects per-website domain configuration. Falls back to web.base.url for single-site deployments.
Works perfectly with
softg_product_image_publisher
Uses the same slug algorithm - image filenames and product URLs stay in sync. Install both for a complete marketplace-ready product record.
softg_xml_feed_generator
The XML Feed Generator consumes the public_url field directly as <item_link> in every feed. Install all three for a complete marketplace stack.
Any Odoo theme
Overrides only the URL slug controller. Leaves all theme markup, template inheritance, and styling completely intact.
Any feed generator module
Exposes a standard public_url field on product.template that any feed-generator module can read as the canonical product URL.
Technical specs
| Module name | softg_product_public_url |
| Version | 19.0.1.0.2 |
| Odoo target | 19 Community + Enterprise |
| License | OPL-1 |
| Dependencies | product, website_sale |
| Server requirements | None - pure Odoo module |
| Fields added | 2 on product.template (product_slug, public_url) |
| Backports | 16.0 · 17.0 · 18.0 available on request |
Support
Email: support@softg.dev
Website: softg.dev
Free updates for the 19.0 major version included.
Backports to 16.0, 17.0, 18.0 available on request.
About SoftG
Odoo Ready Partner based in Cyprus and Canada. Real implementations across medical, retail, F&B, supplements, and construction. No offshore handoff - the engineer on your first call is the one who builds it.
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