What Is Client-Side Redirect?
A client-side redirect is a redirect executed by the browser after a page has been loaded, using JavaScript or a meta refresh tag. Unlike server-side redirects, the browser must download and process the page before the redirect occurs.
Why It Matters
Client-side redirects are a fallback — you use them when you can’t use server-side redirects. They work, but with trade-offs that matter for domain forwarding:
- Slower — the browser downloads a full page before redirecting
- SEO-uncertain — search engines may or may not follow them
- Visible to users — visitors may see a flash of the intermediate page
How It Works
A client-side redirect loads a page that contains instructions to navigate elsewhere:
JavaScript:
<script>window.location.replace("https://new-domain.com");</script>
<meta http-equiv="refresh" content="0;url=https://new-domain.com">
The browser must parse and execute these instructions before the redirect happens. This adds latency and creates a dependency on JavaScript or HTML parsing.
When You’re Forced to Use Client-Side Redirects
- Your hosting doesn’t allow server configuration
- Platform restrictions (some website builders, landing page tools)
- You only have access to edit HTML/JS files
- You need conditional logic (redirect based on browser language, device, etc.)
The Better Alternative
Instead of setting up client-side redirects on a free hosting page, use a domain forwarding service. Point your DNS records to a service like Domain Forward, and get proper server-side redirects with HTTPS support — no hosting required, no JavaScript needed.
Related Terms
Related Features
Frequently
asked questions
The two most common are JavaScript redirects (window.location) and HTML meta refresh tags. Both require the browser to load a page before the redirect fires.
Usually because they don't have server access. Free hosting, website builders, and platforms like Wix or Notion don't let you configure server-side redirects. A service like Domain Forward solves this without needing any hosting.
Google can process JavaScript redirects and immediate meta refreshes (0-second delay) similarly to 301s, but it's not guaranteed. Other search engines may not follow them at all. For reliable SEO outcomes, always use server-side redirects.
Still Confused? Try It Free.
Set up your first domain forward in under 5 minutes. Free plan includes 5 domains.