Attempt to return 404 for get request on redirect