Skip to content
Snippets Groups Projects
Commit d2adbca0 authored by Jacek Lebioda's avatar Jacek Lebioda
Browse files

feat: forward hash in redirection

parent 0de65623
No related branches found
No related tags found
No related merge requests found
...@@ -3,7 +3,10 @@ ...@@ -3,7 +3,10 @@
<meta charset="utf-8"> <meta charset="utf-8">
<title>Redirecting&hellip;</title> <title>Redirecting&hellip;</title>
<link rel="canonical" href="{{ page.redirect.to }}"> <link rel="canonical" href="{{ page.redirect.to }}">
<script>document.location.replace("{{ page.redirect.to }}");</script> <script>
var URLtoRedirect = "{{ page.redirect.to }}" + document.location.hash;
document.location.replace(URLtoRedirect);
</script>
<meta http-equiv="refresh" content="3; url={{ page.redirect.to }}"> <meta http-equiv="refresh" content="3; url={{ page.redirect.to }}">
<meta name="robots" content="noindex"> <meta name="robots" content="noindex">
<h1>Redirecting&hellip;</h1> <h1>Redirecting&hellip;</h1>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment