301 Redirect Doesn't Work

Hi everyone,

I’m trying to 301 redirect a few blog posts, but it doesn’t work. I’ve uploaded the redirects JSON file and the code in it should be entirely correct (see below). We’ve also cleared our AWS cache, but the old links still go to a 404 page instead of being redirected to a new page. We’re on Ghost version 2.3.0.

[
{
“from”:“https://x-team.com/blog/javascript-trends-to-watch-in-2017/”,
“to”:“https://x-team.com/blog/top-javascript-trends-2017/”,
“permanent”: true
}
]

Any suggestions?
Thomas

Redirects need to be relative to the site domain, check out the examples in this guide:

1 Like

As simple as that. Everything works now, thanks David!

1 Like