Merge pull request #474 from timstclair/redirect

Forward /docs/user-guide/overview to /docs/whatisk8s
This commit is contained in:
sarahnovotny 2016-05-05 16:37:10 -07:00
commit f6c6fc80c5
1 changed files with 5 additions and 0 deletions

5
404.md
View File

@ -35,6 +35,11 @@ $( document ).ready(function() {
notHere = true;
window.location.replace("http://kubernetes.io/docs/api/");
}
if (forwardingURL.indexOf("docs/user-guide/overview") > -1)
{
notHere = true;
window.location.replace("http://kubernetes.io/docs/whatisk8s/");
}
for (i=0;i<fwdDirs.length;i++) {
if (forwardingURL.indexOf(fwdDirs[i]) > -1)
{