When my site was hosted elsewhere some URLS were in this date + postname format:
I used regex to redirect them to a simpler format.
This is the Regex:
I tested it on Regex101 and it seems to work as expected
However, when I enter this into redirects.json as:
I get this error:
“Could not parse JSON: Unexpected token d in JSON at position 10366”
What am I doing wrong?
I suspect someone who is more familiar with using Regex for Ghost redirects will find this easy to correct. Can you help?