Redirects on load remove URL parameters: A discussion about an issue where URL parameters, such as preview_theme_id and safe_mode, are stripped off when a shortened link redirects to the full topic URL. Firepup650 first reported the issue, which may be a feature request rather than a bug, as query parameters were not intended to be included with short links awesomerobot. The issue is also seen when a topic’s title changes Firepup650. A fix for this issue has been implemented in https://github.com/discourse/discourse/pull/23965tgxworld, but it is unclear if it also applies to safe_mode parameters Firepup650.
Someone with a better understanding of our routing will hopefully chime in… but this might be more of a feature request than a bug.
I’m not sure query parameters were ever intended to be included with those short links — my understanding is that when a short link is used the application checks for the permalink, and redirects to that… so the query param would need to be lifted off the short link and reapplied to the permalink to get this working.