Skip to content

Commit e7a618e

Browse files
committed
Add redirect from sin4ch.github.io to sin4.ch for SEO
1 parent 14cd6f0 commit e7a618e

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

index.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
<!DOCTYPE html>
22
<html lang="en">
33
<head>
4+
<!-- Redirect sin4ch.github.io to sin4.ch -->
5+
<script>
6+
if (window.location.hostname === 'sin4ch.github.io') {
7+
window.location.replace('https://sin4.ch' + window.location.pathname + window.location.hash);
8+
}
9+
</script>
10+
411
<!-- Google tag (gtag.js) -->
512
<script async src="https://www.googletagmanager.com/gtag/js?id=G-5ZPPHJKRHE"></script>
613
<script>

0 commit comments

Comments
 (0)