My blogpost has url /blog/recipes-3/name-of-recipe-2
I would prefer if it were just /blog/recipes/name-of-recipe
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
My blogpost has url /blog/recipes-3/name-of-recipe-2
I would prefer if it were just /blog/recipes/name-of-recipe
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.
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?
Hello Milo,
Odoo appends numbers to slugs (URLs) to ensure uniqueness, especially when titles are similar. To achieve cleaner URLs for your blog and posts, follow these steps:
1. Ensure each blog and post has a unique title. Odoo often adds numbers when there's a title clash.
2. If you're comfortable with technical adjustments, consider customizing the URL generation method in the website_blog module. This requires development skills.
3. For a non-technical approach, you might need to delete and recreate the blog or post with a unique name to reset its slug. Remember, this could affect SEO and existing links.
For personalized assistance:
https://www.pragtech.co.in/contact-us-mql.html
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.
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
Login Website
Solved
|
|
3
Sep 25
|
145916 | |
|
1
Sep 25
|
980 | ||
Can't delete website
Solved
|
|
4
Sep 25
|
5643 | |
|
2
Aug 25
|
1067 | ||
|
5
Aug 25
|
10452 |
yes, even I had a similar question, any moderator knows answer to this , please do help