Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ai-unlimited): fixing incorrect redirect URL #226

Merged
merged 1 commit into from
Sep 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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>