$source returning everything in URI, not just matched part
$source is returning everything in URI, not just the matched part.
In my config file, I have set my redirects as follows:
"features/*": "https://melaniewalsh.github.io/Intro-Cultural-Analytics/$source.html"
But then the HTML redirects are getting written as:
https://melaniewalsh.github.io/Intro-Cultural-Analytics/features/Command-Line/The-Command-Line.html
If I'm understanding things correctly, this should instead be (without /features
):
https://melaniewalsh.github.io/Intro-Cultural-Analytics/Command-Line/The-Command-Line.html