Se rendre au contenu
Menu
Cette question a été signalée
3 Réponses
2059 Vues

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

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

Avatar
Ignorer

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


Meilleure réponse

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
Ignorer
Meilleure réponse

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
Ignorer
Meilleure réponse

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
Ignorer
Publications associées Réponses Vues Activité
3
sept. 25
148538
1
sept. 25
1146
4
sept. 25
5861
2
août 25
1232
5
août 25
10582