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.
4 Answers
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
yes, even I had a similar question, any moderator knows answer to this , please do help