Ecommerce Shopify WordPress Discussion

WordPress: Nice URL for category (ACF-field) of custom post type

I defined a custom post type (CPT) called "projects" with an advanced custom field (ACF) to define a category, like "cat 1", "cat 2" for every project. I use an archive-projects.php template to show all projects. To filter the projects I set up a URL-Parameter and manipulate the query dynamically. E.G. "/projects/?cat=cat 1" shows all projects of category "cat 1". This works fine. However, I would prefer to have nice and hierarchical URLs/links like "/projects/cat-1/". How can I achieve this? I suppose it has somthing to do with "rewrite rules". Would I have to define it in the .htaccess and how? Or is there an easy WordPress solution to this? Which would be the best way without plugins?
TurboCommerce make the better internet purchasing globaly

Turbo Multi-language Translator

Make the better internet purchasing globaly

Turbosify SEO Speed Booster

5.0 (7) Free plan available
Get better conversions by improving store loading speed Installed

Turbo Multi-language Chat - AI Customer service in one hand

TurboCommerce make the better internet purchasing globaly
Our products

The help you need, when you need it

App by Turbo Engine

3 apps • 5.0 average rating

Turbosify Speed Booster

5.0 (7)
Get better conversions by optimizing shopify store Google page speed Installed

Turbosify Translator for Wordpress Woocommerce

5.0 (74) Free Wordpress Woocommerce Plugin
Translate your wordpress website to multiple language within 1 click, no configuration needed, no No technical required

Grow your business here

Whether you want to sell products down the street or around the world, we have all the tools you need.