Skip to content

Commit

Permalink
Merge pull request #226 from Teradata/fix/ai-unlimited-redirects
Browse files Browse the repository at this point in the history
fix(ai-unlimited): fixing incorrect redirect URL
  • Loading branch information
owilliams320 authored Sep 19, 2024
2 parents cae3def + d92ff90 commit 3e7639e
Show file tree
Hide file tree
Showing 21 changed files with 181 additions and 14 deletions.
19 changes: 19 additions & 0 deletions generate-redirects.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,25 @@ const data = {
"/quickstarts/vantagecloud-lake/vantagecloud-lake-demo-jupyter-google-cloud-vertex-ai/",
"vantagecloud-lake/vantagecloud-lake-demo-jupyter-azure.html":
"/quickstarts/vantagecloud-lake/vantagecloud-lake-demo-jupyter-azure/",
// AI Unlimited redirects
"ai-unlimited/ai-unlimited-aws-permissions-policies.html":
"/ai-unlimited/install-ai-unlimited/",
"ai-unlimited/ai-unlimited-magic-reference.html":
"/ai-unlimited/explore-and-analyze-data/magic-commands/",
"ai-unlimited/deploy-ai-unlimited-aws-cloudformation.html":
"/ai-unlimited/install-ai-unlimited/",
"ai-unlimited/deploy-ai-unlimited-awscli-cloudformation.html":
"/ai-unlimited/install-ai-unlimited/",
"ai-unlimited/getting-started-with-ai-unlimited.html":
"/ai-unlimited/install-ai-unlimited/",
"ai-unlimited/install-ai-unlimited-interface-docker.html":
"/ai-unlimited/install-ai-unlimited/",
"ai-unlimited/install-ai-unlimited-workspaces-docker.html":
"/ai-unlimited/install-ai-unlimited/",
"ai-unlimited/running-sample-ai-unlimited-workload.html":
"/ai-unlimited/install-ai-unlimited/",
"ai-unlimited/using-ai-unlimited-workspace-cli.html":
"/ai-unlimited/install-ai-unlimited/",
};

// Template generator function
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="canonical" href="https://developers.teradata.com/ai-unlimited/install-ai-unlimited/">
<script>location="https://developers.teradata.com/ai-unlimited/install-ai-unlimited/"</script>
<meta http-equiv="refresh" content="0; url=https://developers.teradata.com/ai-unlimited/install-ai-unlimited/">
<meta name="robots" content="noindex">
<title>Redirect Notice</title>
<h1>Redirect Notice</h1>
<p>The page you requested has been relocated to <a href="https://developers.teradata.com/ai-unlimited/install-ai-unlimited/">https://developers.teradata.com/ai-unlimited/install-ai-unlimited/</a>.</p>
9 changes: 9 additions & 0 deletions static/ai-unlimited/ai-unlimited-magic-reference.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="canonical" href="https://developers.teradata.com/ai-unlimited/explore-and-analyze-data/magic-commands/">
<script>location="https://developers.teradata.com/ai-unlimited/explore-and-analyze-data/magic-commands/"</script>
<meta http-equiv="refresh" content="0; url=https://developers.teradata.com/ai-unlimited/explore-and-analyze-data/magic-commands/">
<meta name="robots" content="noindex">
<title>Redirect Notice</title>
<h1>Redirect Notice</h1>
<p>The page you requested has been relocated to <a href="https://developers.teradata.com/ai-unlimited/explore-and-analyze-data/magic-commands/">https://developers.teradata.com/ai-unlimited/explore-and-analyze-data/magic-commands/</a>.</p>
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="canonical" href="https://developers.teradata.com/ai-unlimited/install-ai-unlimited/">
<script>location="https://developers.teradata.com/ai-unlimited/install-ai-unlimited/"</script>
<meta http-equiv="refresh" content="0; url=https://developers.teradata.com/ai-unlimited/install-ai-unlimited/">
<meta name="robots" content="noindex">
<title>Redirect Notice</title>
<h1>Redirect Notice</h1>
<p>The page you requested has been relocated to <a href="https://developers.teradata.com/ai-unlimited/install-ai-unlimited/">https://developers.teradata.com/ai-unlimited/install-ai-unlimited/</a>.</p>
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="canonical" href="https://developers.teradata.com/ai-unlimited/install-ai-unlimited/">
<script>location="https://developers.teradata.com/ai-unlimited/install-ai-unlimited/"</script>
<meta http-equiv="refresh" content="0; url=https://developers.teradata.com/ai-unlimited/install-ai-unlimited/">
<meta name="robots" content="noindex">
<title>Redirect Notice</title>
<h1>Redirect Notice</h1>
<p>The page you requested has been relocated to <a href="https://developers.teradata.com/ai-unlimited/install-ai-unlimited/">https://developers.teradata.com/ai-unlimited/install-ai-unlimited/</a>.</p>
9 changes: 9 additions & 0 deletions static/ai-unlimited/getting-started-with-ai-unlimited.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="canonical" href="https://developers.teradata.com/ai-unlimited/install-ai-unlimited/">
<script>location="https://developers.teradata.com/ai-unlimited/install-ai-unlimited/"</script>
<meta http-equiv="refresh" content="0; url=https://developers.teradata.com/ai-unlimited/install-ai-unlimited/">
<meta name="robots" content="noindex">
<title>Redirect Notice</title>
<h1>Redirect Notice</h1>
<p>The page you requested has been relocated to <a href="https://developers.teradata.com/ai-unlimited/install-ai-unlimited/">https://developers.teradata.com/ai-unlimited/install-ai-unlimited/</a>.</p>
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="canonical" href="https://developers.teradata.com/ai-unlimited/install-ai-unlimited/">
<script>location="https://developers.teradata.com/ai-unlimited/install-ai-unlimited/"</script>
<meta http-equiv="refresh" content="0; url=https://developers.teradata.com/ai-unlimited/install-ai-unlimited/">
<meta name="robots" content="noindex">
<title>Redirect Notice</title>
<h1>Redirect Notice</h1>
<p>The page you requested has been relocated to <a href="https://developers.teradata.com/ai-unlimited/install-ai-unlimited/">https://developers.teradata.com/ai-unlimited/install-ai-unlimited/</a>.</p>
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="canonical" href="https://developers.teradata.com/ai-unlimited/install-ai-unlimited/">
<script>location="https://developers.teradata.com/ai-unlimited/install-ai-unlimited/"</script>
<meta http-equiv="refresh" content="0; url=https://developers.teradata.com/ai-unlimited/install-ai-unlimited/">
<meta name="robots" content="noindex">
<title>Redirect Notice</title>
<h1>Redirect Notice</h1>
<p>The page you requested has been relocated to <a href="https://developers.teradata.com/ai-unlimited/install-ai-unlimited/">https://developers.teradata.com/ai-unlimited/install-ai-unlimited/</a>.</p>
9 changes: 9 additions & 0 deletions static/ai-unlimited/running-sample-ai-unlimited-workload.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="canonical" href="https://developers.teradata.com/ai-unlimited/install-ai-unlimited/">
<script>location="https://developers.teradata.com/ai-unlimited/install-ai-unlimited/"</script>
<meta http-equiv="refresh" content="0; url=https://developers.teradata.com/ai-unlimited/install-ai-unlimited/">
<meta name="robots" content="noindex">
<title>Redirect Notice</title>
<h1>Redirect Notice</h1>
<p>The page you requested has been relocated to <a href="https://developers.teradata.com/ai-unlimited/install-ai-unlimited/">https://developers.teradata.com/ai-unlimited/install-ai-unlimited/</a>.</p>
9 changes: 9 additions & 0 deletions static/ai-unlimited/using-ai-unlimited-workspace-cli.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="canonical" href="https://developers.teradata.com/ai-unlimited/install-ai-unlimited/">
<script>location="https://developers.teradata.com/ai-unlimited/install-ai-unlimited/"</script>
<meta http-equiv="refresh" content="0; url=https://developers.teradata.com/ai-unlimited/install-ai-unlimited/">
<meta name="robots" content="noindex">
<title>Redirect Notice</title>
<h1>Redirect Notice</h1>
<p>The page you requested has been relocated to <a href="https://developers.teradata.com/ai-unlimited/install-ai-unlimited/">https://developers.teradata.com/ai-unlimited/install-ai-unlimited/</a>.</p>
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="canonical" href="https://developers.teradata.com/ja/ai-unlimited/install-ai-unlimited/">
<script>location="https://developers.teradata.com/ja/ai-unlimited/install-ai-unlimited/"</script>
<meta http-equiv="refresh" content="0; url=https://developers.teradata.com/ja/ai-unlimited/install-ai-unlimited/">
<meta name="robots" content="noindex">
<title>Redirect Notice</title>
<h1>Redirect Notice</h1>
<p>The page you requested has been relocated to <a href="https://developers.teradata.com/ja/ai-unlimited/install-ai-unlimited/">https://developers.teradata.com/ja/ai-unlimited/install-ai-unlimited/</a>.</p>
9 changes: 9 additions & 0 deletions static/ja/ai-unlimited/ai-unlimited-magic-reference.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="canonical" href="https://developers.teradata.com/ja/ai-unlimited/explore-and-analyze-data/magic-commands/">
<script>location="https://developers.teradata.com/ja/ai-unlimited/explore-and-analyze-data/magic-commands/"</script>
<meta http-equiv="refresh" content="0; url=https://developers.teradata.com/ja/ai-unlimited/explore-and-analyze-data/magic-commands/">
<meta name="robots" content="noindex">
<title>Redirect Notice</title>
<h1>Redirect Notice</h1>
<p>The page you requested has been relocated to <a href="https://developers.teradata.com/ja/ai-unlimited/explore-and-analyze-data/magic-commands/">https://developers.teradata.com/ja/ai-unlimited/explore-and-analyze-data/magic-commands/</a>.</p>
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="canonical" href="https://developers.teradata.com/ja/ai-unlimited/install-ai-unlimited/">
<script>location="https://developers.teradata.com/ja/ai-unlimited/install-ai-unlimited/"</script>
<meta http-equiv="refresh" content="0; url=https://developers.teradata.com/ja/ai-unlimited/install-ai-unlimited/">
<meta name="robots" content="noindex">
<title>Redirect Notice</title>
<h1>Redirect Notice</h1>
<p>The page you requested has been relocated to <a href="https://developers.teradata.com/ja/ai-unlimited/install-ai-unlimited/">https://developers.teradata.com/ja/ai-unlimited/install-ai-unlimited/</a>.</p>
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="canonical" href="https://developers.teradata.com/ja/ai-unlimited/install-ai-unlimited/">
<script>location="https://developers.teradata.com/ja/ai-unlimited/install-ai-unlimited/"</script>
<meta http-equiv="refresh" content="0; url=https://developers.teradata.com/ja/ai-unlimited/install-ai-unlimited/">
<meta name="robots" content="noindex">
<title>Redirect Notice</title>
<h1>Redirect Notice</h1>
<p>The page you requested has been relocated to <a href="https://developers.teradata.com/ja/ai-unlimited/install-ai-unlimited/">https://developers.teradata.com/ja/ai-unlimited/install-ai-unlimited/</a>.</p>
9 changes: 9 additions & 0 deletions static/ja/ai-unlimited/getting-started-with-ai-unlimited.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="canonical" href="https://developers.teradata.com/ja/ai-unlimited/install-ai-unlimited/">
<script>location="https://developers.teradata.com/ja/ai-unlimited/install-ai-unlimited/"</script>
<meta http-equiv="refresh" content="0; url=https://developers.teradata.com/ja/ai-unlimited/install-ai-unlimited/">
<meta name="robots" content="noindex">
<title>Redirect Notice</title>
<h1>Redirect Notice</h1>
<p>The page you requested has been relocated to <a href="https://developers.teradata.com/ja/ai-unlimited/install-ai-unlimited/">https://developers.teradata.com/ja/ai-unlimited/install-ai-unlimited/</a>.</p>
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="canonical" href="https://developers.teradata.com/ja/ai-unlimited/install-ai-unlimited/">
<script>location="https://developers.teradata.com/ja/ai-unlimited/install-ai-unlimited/"</script>
<meta http-equiv="refresh" content="0; url=https://developers.teradata.com/ja/ai-unlimited/install-ai-unlimited/">
<meta name="robots" content="noindex">
<title>Redirect Notice</title>
<h1>Redirect Notice</h1>
<p>The page you requested has been relocated to <a href="https://developers.teradata.com/ja/ai-unlimited/install-ai-unlimited/">https://developers.teradata.com/ja/ai-unlimited/install-ai-unlimited/</a>.</p>
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="canonical" href="https://developers.teradata.com/ja/ai-unlimited/install-ai-unlimited/">
<script>location="https://developers.teradata.com/ja/ai-unlimited/install-ai-unlimited/"</script>
<meta http-equiv="refresh" content="0; url=https://developers.teradata.com/ja/ai-unlimited/install-ai-unlimited/">
<meta name="robots" content="noindex">
<title>Redirect Notice</title>
<h1>Redirect Notice</h1>
<p>The page you requested has been relocated to <a href="https://developers.teradata.com/ja/ai-unlimited/install-ai-unlimited/">https://developers.teradata.com/ja/ai-unlimited/install-ai-unlimited/</a>.</p>
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="canonical" href="https://developers.teradata.com/ja/ai-unlimited/install-ai-unlimited/">
<script>location="https://developers.teradata.com/ja/ai-unlimited/install-ai-unlimited/"</script>
<meta http-equiv="refresh" content="0; url=https://developers.teradata.com/ja/ai-unlimited/install-ai-unlimited/">
<meta name="robots" content="noindex">
<title>Redirect Notice</title>
<h1>Redirect Notice</h1>
<p>The page you requested has been relocated to <a href="https://developers.teradata.com/ja/ai-unlimited/install-ai-unlimited/">https://developers.teradata.com/ja/ai-unlimited/install-ai-unlimited/</a>.</p>
9 changes: 9 additions & 0 deletions static/ja/ai-unlimited/using-ai-unlimited-workspace-cli.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="canonical" href="https://developers.teradata.com/ja/ai-unlimited/install-ai-unlimited/">
<script>location="https://developers.teradata.com/ja/ai-unlimited/install-ai-unlimited/"</script>
<meta http-equiv="refresh" content="0; url=https://developers.teradata.com/ja/ai-unlimited/install-ai-unlimited/">
<meta name="robots" content="noindex">
<title>Redirect Notice</title>
<h1>Redirect Notice</h1>
<p>The page you requested has been relocated to <a href="https://developers.teradata.com/ja/ai-unlimited/install-ai-unlimited/">https://developers.teradata.com/ja/ai-unlimited/install-ai-unlimited/</a>.</p>
13 changes: 0 additions & 13 deletions supplemental_ui/js/redirect.js

This file was deleted.

1 change: 0 additions & 1 deletion supplemental_ui/partials/head-meta.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -938,4 +938,3 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
</script>
<script src="{{uiRootPath}}/js/lang.js"></script>
<script src="{{uiRootPath}}/js/translations/mt.js"></script>
<script src="{{uiRootPath}}/js/redirect.js"></script>

0 comments on commit 3e7639e

Please sign in to comment.