Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
3 Risposte
2078 Visualizzazioni

My blogpost has url /blog/recipes-3/name-of-recipe-2

I would prefer if it were just /blog/recipes/name-of-recipe

Avatar
Abbandona

yes, even I had a similar question, any moderator knows answer to this , please do help


Risposta migliore

I contacted the support with same question. For this ridiculous behavior (adding numbers in URLs) they said customization is needed and I have to find and pay someone :)
I mean for other blog platforms choosing URL structure is a very basic and normal option but not in Odoo.

Avatar
Abbandona
Risposta migliore

I’ve come across the same issue before, and usually those numbers appear in slugs when there’s already an existing page or post with the same title. Odoo adds them to avoid duplicate URLs. One workaround is to check for duplicates and then edit the slug manually in the backend so it stays clean. Another option is to use a custom module or rewrite rules if you want more control over how slugs are generated.

Did you notice if the numbers are being added only for certain posts, or does it happen every time you create a new blog entry?

Avatar
Abbandona
Risposta migliore

Did you find the solution? I'm trying to create the AI ​​module here on Odoo Premise, but without success. I'm using Odoo 19.

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
3
set 25
149048
1
set 25
1164
4
set 25
5887
2
ago 25
1252
5
ago 25
10594