I'm trying to setup a nginx rewrite rule but can't figure out how to get it working.
I want to redirect all urls https://domainname.com/archives/year/month/date/postname to https://domainname.com/postname
The page https://domainname.com/archives needs to stay active though.
Who can help me out?
Cheers, Jaap