Redirect single post to external domain

I’m looking to redirect a single post in my blog to another post but on a different domain.

Example: myblog.com/post-1/ redirect (301 permanent) to anotherblog.com/title-of-post/

Is that possible with Ghost? I tried doing it in the redirects.json file but it doesn’t work. Any help?

Anyone?

I used this redirects.json locally and it works, could you share how you tried to attempt it?

[{
  "from": "/post-1",
  "to": "https://anotherblog.com/title-of-post",
  "permanent": true
}]
1 Like

Did you have to restart ghost, nginx or anything?

After uploading a new redirects.json file to your Ghost instance routes are reloaded automatically, so you don’t have to restart anything :)

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.