Migrate from Substack and import your content to Ghost with this guide
/p/
as part of the public post URL, where as Ghost uses it in the URL for post previews. This means the redirect regular expression is quite complex, but necessary so that post previews in Ghost function correctly.
https://mysite.com/p/awesome-post
, they will automatically be redirected to https://mysite.com/awesome-post
.
For more information on Substack redirects, visit our guide here.