Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
3 Vastaukset
2105 Näkymät

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

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

Avatar
Hylkää

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


Paras vastaus

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
Hylkää
Paras vastaus

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
Hylkää
Paras vastaus

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
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
Login Website Ratkaistu
3
lokak. 25
149265
1
syysk. 25
1202
4
syysk. 25
5926
2
elok. 25
1276
5
elok. 25
10620