Coming from WordPress, how to use blog without "/blog" in the URL?

I’m thinking about moving my blog from WordPress to Grav and I’ve spun up a DEV site for Grav.

In WordPress, my blog post URLS are:
https://mydomain.com/year/month/title

However, in Grav, the closest I can get is:
https://mydomain.com/blog/year/month/title

How can I have a blog in Grav, but remove “/blog” from the URL? I don’t want to change the URL structure since it would break all links to my site from external sources.

I found this archived post, but the user ended up just leaving “/blog” in their URLs.

Thanks in advance.

Can you set blog as a home page and set an option to exclude home slug in URL? Or like in the linked topic, you have Grav installed under /blog folder?

I would prefer to have “About” as a homepage instead of the blog. So I’m assuming it’s one or the other, right?

No, I do not have have Grav installed in a /blog folder.

I’m not good at all htaccess rewrites, but I guess what you could do, is use some rule to rewrite /year/month/title to /blog/year/month/title. But don’t know how to make all URLs exclude /blog part if it’s not a home page :confused:

Maybe someone from Grav team could step in

Ya, I’m going down the same path trying to think of Nginx rewrite rules as well.