Hi!
The problem is that my regular expression doesn’t working for all cases.
{
"from": "^(.*?)/+/(.*)$",
"to": "$1/$2",
"permanent": true
}
Not working for http://example.com//tag/cat/something/.
But working, if added 1 or more slashe(s) to URL => http://example.com/tag/cat/something/.
Ghost-CLI version: 1.14.1
Ghost version: 3.31.5
NodeJS 12.18.3
NPM 6.14.6