Feedback about interrnal linking

I really love your internal linking feature, which works perfectly for already published articles. Since I write some articles in advance, there are several scheduled articles that can be linked too. This resolves my question from in a few detaiuls, but not all of them:

Currently, I cannot select scheduled posts, and being able to do so would be pretty great. After publishing, the preview URL needs to be converted to the “official” URL. Is that feature planned?

1 Like

There are currently a couple of problems with that. First, preview URLs are publicly accessible so if we make it easy to add preview URLs into content then there’s a considerable risk that unpublished content could be leaked publicly. Second is that a post’s content is only generated at the point of saving and there’s no reference stored for which posts are linked to others which means that to do what you’re asking on each save we’d need to load every single post in the database and do a replace function on the post content which is a huge server load for large sites.

It’s certainly something we’ve thought about but it’s not something that’s easily doable with Ghost’s current architecture.

1 Like

Thank you for the insight, @Kevin ! It was just an idea to make it more fluent to work with internal linking on unpublished posts. However, you’re right; no matter which use case I consider, there are always points that could be dangerous or unpredictable. Maybe you can take that on board and discuss it internally.

Indeed, the risks are high, and I can imagine my “proposal” would only cover a portion of user workflows, leaving some edge cases where this wouldn’t work.