# Changing post URL doesn't update older internal links

**URL:** <https://forum.ghost.org/t/changing-post-url-doesnt-update-older-internal-links/50241>\
**Category:** Using Ghost\
**Created:** [September 13, 2024, 12:02am UTC](https://forum.ghost.org/t/changing-post-url-doesnt-update-older-internal-links/50241 "2024-09-13T00:02:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![spendlove](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/spendlove/32/29614_2.png) [@spendlove](https://forum.ghost.org/u/spendlove)\
**Post date:** [September 13, 2024, 12:02am UTC](https://forum.ghost.org/t/changing-post-url-doesnt-update-older-internal-links/50241/1 "2024-09-13T00:02:32Z")

</div>

When I change a post URL, I was under the impression that any internal links using the old post URL would automatically update, but apparently I’m wrong after doing a little test.

Just curious, is this on the agenda of things to implement?

---

<div class="post-metadata">

**Author:** ![markstos](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/markstos/32/18182_2.png) [@markstos](https://forum.ghost.org/u/markstos)\
**Post date:** [September 14, 2024, 11:31pm UTC](https://forum.ghost.org/t/changing-post-url-doesnt-update-older-internal-links/50241/2 "2024-09-14T23:31:17Z")

</div>

I can’t speak to the roadmap, but there’s a tool for this.

It’s called `gctools` and I wish they would make it part of the `ghost` CLI for better visibility.

It has a `find-replace` tool. You can use for URLs and other things.

Be careful if you have any relative references, the structure may be different.

> **[GitHub - TryGhost/gctools: Command line utilities for working with Ghost...](https://github.com/TryGhost/gctools?tab=readme-ov-file#find-replace)**
>
> Command line utilities for working with Ghost content

---

<div class="post-metadata">

**Author:** ![Kevin](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/kevin/32/32_2.png) [@Kevin](https://forum.ghost.org/u/Kevin)\
**Post date:** [September 15, 2024, 6:50am UTC](https://forum.ghost.org/t/changing-post-url-doesnt-update-older-internal-links/50241/3 "2024-09-15T06:50:01Z")

</div>

The better solution if you’re changing historic urls is to put a redirect in place to redirect the old to the new. That way links from external sites still work and you don’t mess with your SEO to the same extent.

The gctools link replacer is meant more for data migration issues or fixes than handling a change of a post url on an established site. Although you’re of course free to use it how you like.

---

<div class="post-metadata">

**Author:** ![mheland](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/mheland/32/26236_2.png) [@mheland](https://forum.ghost.org/u/mheland)\
**Post date:** [September 15, 2024, 1:42pm UTC](https://forum.ghost.org/t/changing-post-url-doesnt-update-older-internal-links/50241/4 "2024-09-15T13:42:47Z")

</div>

@Kevin I want a little paperclip that pops up with “It seems that you’re editing the URL of a published post - would you like to add a re-direct entry?”

I am ready to spend 12 months with FreeCodeCamp to become a js ninja only for this feature. Promise you will merge it, yes?
