Change the relative path of the url for the ajax call.