Glossary

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 refresh:

<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.

Still Confused? Try It Free.

Set up your first domain forward in under 5 minutes. Free plan includes 5 domains.