Slugs not showing up in URL

In _config.yml I have the line:

permalink: /:slugified_categories/:slug/

The category part of this gets slugified, so on this page:

the category Wordpress shows in lower case as expected.

The slug part does not work as expected.

I’ve tried using the following as Front Matter for the post:

layout: post
title: “From WordPress to Jekyll Project”
slug: “wordpress-jekyll”
date: 2022-01-12 19:55:47 +1300
categories: wordpress

and this version

layout: post
title: “From WordPress to Jekyll Project”
date: 2022-01-12 19:55:47 +1300
categories: wordpress

In both cases the url shows as

www.digitl.nz/wordpress/From-WordPress-to-Jekyll-Project/

Ideally, I would be able to get the slug version:

www.digitl.nz/wordpress/wordpress-jekyll/

but I’d settle for:

www.digitl.nz/wordpress/from-wordpress-to-jekyll-project/

Neither seems to happen. Where am I going wrong?

not sure about the slug part not working in the permalink, but what is the filename? is it in caps? I think if what you don’t like is the caps in the url you can fix it by renaming the filename as lowercase.

I tried this, then waited 20 minutes because GitHub can take a while to propagate.

Changing the filename doesn’t appear to have changed anything. At least not yet.

what if you do title/ at the end instead of slug? it should give you from-wordpress-to-jekyll-project I think. Not sure about the caps, I’m guessing the slugging is all about the space removal only?