Refactor alert urls to be more restful.