Set remotePath for media files based on the Wordpress media upload URL