How to get site.com/video1 to simply redirect to a YouTube video

I’d like to have my site ChrisGreen .com include redirects to offsite content.

For example, ChrisGreen. com/video1 should redirect to a YouTube video.
Or ChrisGreen. com/page should redirect to Facebook. com/chris

I tried the JSON file with this:

[{
“from”: “/page/” ,
“to”: “Redirecting...”,
“permanent”: true
}]

But it ends up at https://www.chrisgreen.com/https://facebook.com/chris/

Is there a better or simpler way to do this?

Thanks!
(sorry to break up the links, says limit 3 per post)

Got the fix from Ghost support!
Proper format below:

[
{
“from”: “^/page/” ,
“to”: “Redirecting...”,
“permanent”: true
}
]

1 Like