Sql script for changing media paths or virtual directories in Umbraco
When you upload media in Umbraco it stores the absolute path to the media item in the database. By default the path will look something like: /media/12335/MyImage.jpg However, if you are running Umbra…