Update 404.md
This commit is contained in:
parent
cb42e1ed0e
commit
34568e075c
2
404.md
2
404.md
|
@ -12,7 +12,7 @@ $( document ).ready(function() {
|
||||||
for (i=0;i<oldURLs.length;i++) {
|
for (i=0;i<oldURLs.length;i++) {
|
||||||
if (window.location.href.indexOf(oldURLs[i]) > -1) {
|
if (window.location.href.indexOf(oldURLs[i]) > -1) {
|
||||||
doRedirect=true;
|
doRedirect=true;
|
||||||
forwardingURL=forwardingURL.replace(oldURLs[i]);
|
forwardingURL=forwardingURL.replace(oldURLs[i],"");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (doRedirect) window.location.replace(forwardingURL);
|
if (doRedirect) window.location.replace(forwardingURL);
|
||||||
|
|
Loading…
Reference in New Issue