(no title)
biohazard2 | 1 year ago
You can use a regular expression to write a single redirect for all the posts. Something like the following could do the trick:
location ~ ^/(home|networking|misc|tips)/(\d{4})/(\d{2})/(\d{2})/([a-zA-Z0-9-_]+)\.html {
return 301 https://giuliomagnifico.blog/post/$2-$3-$4-$5/;
}
giuliomagnifico|1 year ago