Understanding Hugo taxonomy permalinks settings

Hi there,

I have these categories in my Hugo website

# page front matter 
---
title: ""
date:
draft:
properties: sale
---
# there 2 sub categories sale and rent

What can I do in Hugo to achieve this result

# for properties in category sale
example.com/for-sale/

# for properties in category rent
example.com/to-rent/

can Hugo detect and modify permalink based on the given details in the page front matter?

Thanks

Hi @ju52

I cannot read what you wrote it show me this message

Thanks

I misunderstud your question and had to delete my “wrong” answer

IMHO this will not work. You can not define the “destination” path with a parameter.
Put the content in different sections and set the destination path with permalinks

1 Like