Skip to content

Instantly share code, notes, and snippets.

@kokoye2007
Created May 5, 2025 01:59
Show Gist options
  • Save kokoye2007/65f989e49a4257c4926229d0589f9005 to your computer and use it in GitHub Desktop.
Save kokoye2007/65f989e49a4257c4926229d0589f9005 to your computer and use it in GitHub Desktop.
squarespace_redirect
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="5; url=https://HEREIS_YOUR_URL/">
<title>Redirecting to Flowrshop</title>
<style>
.redirect-text {
font-family: sans-serif;
font-size: 18px;
color: #EC6D11;
padding: 20px;
}
.redirect-text a {
font-weight: bold;
color: #EC6D11;
text-decoration: underline;
}
</style>
</head>
<body>
<div id="confirmed-page"></div>
<div class="redirect-text">
<h2>FLOWRSHOP: Save time and explore our collection</h2>
<p>
<span style="font-weight:bold;">FLOWRSHOP: </span>
Save time and <b><a href="https://HEREIS_YOUR_URL/">explore our collection</a></b> before you visit.
</p>
</div>
<script>
document.addEventListener("DOMContentLoaded", function() {
const redirectText = document.querySelector('.redirect-text');
const confirmedPage = document.querySelector('#confirmed-page');
if (confirmedPage && redirectText) {
confirmedPage.insertAdjacentElement('afterend', redirectText);
}
});
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment