Making the file extension in the URL optional