diff --git a/404.md b/404.md index 13f53550a7..8196fc9da3 100644 --- a/404.md +++ b/404.md @@ -12,7 +12,7 @@ $( document ).ready(function() { for (i=0;i -1) { doRedirect=true; - forwardingURL=forwardingURL.replace(oldURLs[i]); + forwardingURL=forwardingURL.replace(oldURLs[i],""); } } if (doRedirect) window.location.replace(forwardingURL);