correct url for media location