Ecommerce Shopify WordPress Discussion

WordPress permalink custom structure not working on subcategories

I am working on a Wordpress theme for a portfolio website. I have a bunch of posts that are projects that have a category of 'projects' but also subcategories like 'video' or 'photography'. I have an archive page for the category of 'projects' that displays all the 'projects' posts and, on this page, I also have a directory with the list of all the subcategories under 'projects' that I want to link to each respective subcategory archive page. Everything was working great, until I edited the permalink structure. I would like for the 'projects' archive page permalink to look like the following: To do this, I used a custom structure of /%category%/%postname%/ and, on the category base I wrote . (a dot), to hide 'category' from the permalink (otherwise it would lool like: So, now the subcategories' links don't work, because the subcategory permalink is: but the directory of subcategories under 'projects' link to: Any ideas on how to either change the subcategories permalinks or the actual links on the directory of subcategories? Additional context: I am calling this list of subcategories like this: <?php $category = get_category_by_slug( 'projects' ); wp_list_categories('child_of='.$category->term_id); ?>
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.