Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
2142 Lượt xem

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

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

Ảnh đại diện
Huỷ bỏ

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


Câu trả lời hay nhất

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.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
Login Website Đã xử lý
3
thg 10 25
149265
1
thg 9 25
1299
4
thg 9 25
6033
2
thg 8 25
1318
5
thg 8 25
10648