HUGO

[Solved] How to override hugo generated link

Hi.
I have issue with one article. It is generated with link https://wojcieh.net/unable-to-update-vcsa-6.5-to-6.7-quick-fix/ but I would like to have it generated with dashes “-” instead of dots “.” https://wojcieh.net/unable-to-update-vcsa-6-5-to-6-7-quick-fix/.

Here is the post content

---
title: "Unable to update vCSA 6.5 to 6.7 – quick fix"
author: Wojciech Marusiak
date: 2018-10-17T07:00:57+00:00

categories:
  - Standard

---

I’d like to preserve title with dots in the post but link should be with dashes.

How can I achieve that?

Cheers
Wojciech

you can use slug.

---
title: "Unable to update vCSA 6.5 to 6.7 – quick fix"
author: Wojciech Marusiak
date: 2018-10-17T07:00:57+00:00
++ slug: unable-to-update-vcsa-6-5-to-6-7-quick-fix
categories:
  - Standard

---

:slug
the content’s slug (or title if no slug is provided in the front matter)

1 Like

It worked. Thanks a lot @pamubay

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.