📝Markdown & HTML
HTML Redirect (Meta Refresh)
Client-side redirection using the head tag.
Explanation
A simple way to redirect users if you don't have access to server-side 301/302 redirects.
Examples
Instant Redirect
Output
<meta http-equiv="refresh" content="0; url=https://example.com">
Code Examples
HTML
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="refresh" content="3; url=https://vaima.co/">
</head>
<body>
<p>Redirecting in 3 seconds... <a href="https://vaima.co/">Click here</a> if it doesn't happen.</p>
</body>
</html>💡 Tips
- Always provide a manual fallback link for accessibility
- Set content="0" for an instant redirect
- Use server-side redirects whenever possible for SEO
⚠️ Common Pitfalls
- Meta refresh redirects can be confusing for screen reader users if the delay is too short