Hello,
I have created a blog on my webshop and a number has been added to it each time.
/blog/journey-2/alles-begint-met-dromen-1 |
How can I adjust that so that those numbers are not added?
Thank you in advance
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hello,
I have created a blog on my webshop and a number has been added to it each time.
/blog/journey-2/alles-begint-met-dromen-1 |
How can I adjust that so that those numbers are not added?
Thank you in advance
Hi,
There is a function in the website_blog.py file in the module website_blog. Inside that file, you can find a function _compute_website_url. This
function computes the url of the blog, so in order to change the blog
url, you need to override this function and change it to only accept
strings.After that, you have to override the controller with the route of the blog.
Hope it helps
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up
Perhaps this app - https://apps.odoo.com/apps/modules/16.0/short_urls/ - might partially help in your goals