Does anyone know how to take a url like this https://www.example.com/blog/wp-content/uploads/2018/12/DSC_2094-495x400.jpg
and redirect it to https://blog.example.com/wp-content/uploads/2018/12/DSC_2094-495x400.jpg
Basically i have moved my blog from domain with parameter blog https://www.example.com/blog
to now a blog subdomain https://blog.example.com/
This works but drops all the parameters that were previously in the clicked url, which makes perfect sense, but what do i change to retain the parameters of the original link only dropping the first part /blog