Hello,
I am trying to set up a redirect.
At some point in the past my posts where at /post/{slug}
. This has changed and they now just live at /slug
. Since my blog is pointed to from some sources Id like to set up the correct redirects.
This is my rule to do this.
{"from":"^/post/(.*)/$","to":"/$1","permanent":true}
Unfortunately this results in https://maximilianehlers.com/post/testable_modules/ being rewritten to https://maximilianehlers.com/testable_modules// .
Is there anything I am missing here to not have the second /
appended?
Thanks for any help!