Guidance regarding the organization of my listings

Hello everyone!

I’m in need of some guidance regarding the organization of my listings using Hugo.

I’ve learned that Google doesn’t prioritize content that’s nested within subcategories. Considering this, I’m wondering if it’s possible to leverage Hugo’s tags functionality to create appropriate URLs instead of using a directory structure.

For instance, instead of having example.com/sale/residential/apartment/city/propertyid, could I utilize Hugo tags to generate a suitable slug, disregarding the categories? Something like example.com/apartment-for-sale-city-propertyid.

Additionally, I’d like to know if this approach would still allow me to use the tags effectively for filtering purposes when needed.

If anyone has experience with Hugo and can provide insights or suggestions on how to achieve this, I would greatly appreciate your help.

Thank you!

See https://gohugo.io/content-management/urls/#permalinks.

2 Likes

Thanks @jmooring took some time to understand but it works. thanks for providing the solution

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