Update 404.md
This commit is contained in:
parent
5998d3565e
commit
54b321e42e
2
404.md
2
404.md
|
@ -7,7 +7,7 @@ permalink: /404.html
|
||||||
<script language="JavaScript">
|
<script language="JavaScript">
|
||||||
$( document ).ready(function() {
|
$( document ).ready(function() {
|
||||||
if (window.location.href.indexOf(".html") > -1) {
|
if (window.location.href.indexOf(".html") > -1) {
|
||||||
var forwardingURL=window.location.href.replace(".html","");
|
var forwardingURL=window.location.href.replace(".html","").replace("/v1.1").replace("/v1.0");
|
||||||
window.location.replace(forwardingURL);
|
window.location.replace(forwardingURL);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue