# Moving posts break internal links

**URL:** <https://meta.discourse.org/t/moving-posts-break-internal-links/275423>\
**Category:** Feature\
**Created:** [August 16, 2023, 5:00pm UTC](https://meta.discourse.org/t/moving-posts-break-internal-links/275423 "2023-08-16T17:00:34Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![mbauman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mbauman/32/139835_2.png) [@mbauman](https://meta.discourse.org/u/mbauman)\
**Post date:** [August 16, 2023, 5:00pm UTC](https://meta.discourse.org/t/moving-posts-break-internal-links/275423/1 "2023-08-16T17:00:34Z")

</div>

If I link to a post that subsequently gets thread-split to a new location, that link becomes semi-broken. It’d be great if these links could get updated retroactively — discourse knows about the link and the targeted post even carries with it the appropriate backlink.

Example:

> [@Restrict moderator access to only the stats panel on the admin dashboard?](https://meta.discourse.org/t/can-a-moderator-have-access-to-the-stats-panel-on-the-admin-dashboard/146468/15):
>
> I do think the [Data Explorer](https://meta.discourse.org/t/32566) plugin can do exactly what you want here, but it unfortunately requires some SQL know-how to set up the queries. Once you have the queries you want you can make them available to any group of users as you prefer. [https://meta.discourse.org/t/what-cool-data-explorer-queries-have-you-come-up-with/43516/279](https://meta.discourse.org/t/what-cool-data-explorer-queries-have-you-come-up-with/43516/279)

which links to

> [@Replicated dashboard stats](https://meta.discourse.org/t/replicated-dashboard-stats/275169):
>
> These aren’t very “cool” — they’re just replications of some of stats from the admin report dashboard — but I’ve found them helpful to provide access to non-admin users: SELECT a.date, a.users, b.posts, c.topics, d.likes, e.pageviews FROM ( -- /admin/reports/signups SELECT DATE(u.created\_at), count(\*) as users from users as u group by DATE(u.created\_at) ) as a LEFT JOIN ( -- /admin/reports/posts SELECT DATE(p.created\_at), count(\*) as posts from posts as p join …

---

_[View the full topic](https://meta.discourse.org/t/moving-posts-break-internal-links/275423)._
