diff --git a/src/_includes/global/baselayout.njk b/src/_includes/global/baselayout.njk
index 3b5fbc5d..df2af76c 100644
--- a/src/_includes/global/baselayout.njk
+++ b/src/_includes/global/baselayout.njk
@@ -33,6 +33,7 @@
{% endblock %}
{# JavaScript #}
+
diff --git a/src/assets/js/redirect.js b/src/assets/js/redirect.js
new file mode 100644
index 00000000..c83285f8
--- /dev/null
+++ b/src/assets/js/redirect.js
@@ -0,0 +1,8 @@
+const currentUrl = window.location.href;
+const oldDomain = 'leilukin.neocities.org';
+const newDomain = 'leilukin.com';
+
+if (currentUrl.includes(oldDomain)) {
+ const newUrl = currentUrl.replace(oldDomain, newDomain);
+ location.replace(newUrl);
+}
\ No newline at end of file