Remove categories in slug

I had a site using hugo with some categories. But I don’t want to show ‘categories’ letter on slug (removing it from slug) when clicking on the categories link. How can I do it with config file?

For example my address current site looks like this
I wanna change to site

Thank you so much!

You can configure Permalinks in your config file

Thank you for your prompt reply but I could not make my site work like I want. Let me explain more clear. My site has “categories = [“Tutorials”]” in front matter section. It create Tutorials categories link on site like . I wanna remove “categories” on url address. Coud you please give me an example? Thank you

You could try something like:

  categories = "/:title/"
1 Like

Thank you so much. It works like a charm!