Good evening my friends,
I’m happy to use Grav for my personal blog and site. I’ve always been an anti-mainstream guy.
Anyway, I found out my site is both accessible at https://mydomain.com/ and https://www.mydomain.com. I wish the latter to remain, and whenever it’s accessed without the “www.” redirect permanently to the “www.” version.
How’d I achieve this? I tried modifying it with
custom_base_url, but I think I’m doing it wrong.
Thanks in advance,