301 Redirect old domain to new domain without losing SEO
DOMAIN

Why Redirect a Domain?

Whether you're rebranding, moving to a shorter and more memorable domain, or switching from .com to a country-code TLD, one question is always top of mind: "Will my Google rankings drop?" The good news is that if done correctly with a 301 Redirect, your SEO equity will transfer to the new domain with minimal long-term impact.

Google has confirmed that 301 Redirects pass "link equity" — the SEO weight from your backlinks — to the destination URL. Your new domain can inherit the existing rankings, though expect a temporary fluctuation while Googlebot re-indexes the site.

301 vs 302 Redirect — What's the Difference?

301 Permanent Redirect — Use when moving a domain for real

302 Temporary Redirect — Use for short-term moves only

Key rule: Always use a 301 Redirect when permanently moving a domain. Using a 302 by mistake tells Google your old domain is still active, and it will not transfer your rankings to the new domain.

How to Set Up a 301 Domain Redirect

Method 1: Via .htaccess (Apache Server)

The most popular method for shared hosting and Apache-based VPS. Add this to the .htaccess file at the root of your old domain:

Method 2: Via DNS Domain Redirect / URL Forwarding

If your hosting provider offers a Domain Redirect or URL Forwarding feature in the DNS panel, you can configure the redirect there without touching .htaccess files.

Method 3: Via Nginx Config

For VPS users running Nginx, add this inside the server block for the old domain:

Verifying Your 301 Redirect Is Working

Before and after setting up a redirect, you should confirm it is functioning correctly using these free tools.

Check HTTP Status Code with curl

Open a terminal and run the command below. The result should show 301 Moved Permanently with a Location: header pointing to the new domain.

curl -I http://olddomain.com/
# Expected output:
# HTTP/1.1 301 Moved Permanently
# Location: https://newdomain.com/

Inspect the Full Redirect Chain

To see every hop in the redirect chain from start to finish, use curl -L -I:

curl -I -L http://olddomain.com/
# Shows every HTTP status — should end with 200 OK
Tool How to Use Advantage
curl -ICommand lineFree, works on all OS
Redirect CheckerOnline toolVisual chain overview
Google Search ConsoleURL InspectionConfirms Google sees the redirect correctly
Screaming FrogDesktop appCrawl all URLs at once

How 301 Redirects Affect PageRank and Link Equity

A common point of confusion is whether 301 Redirects pass 100% of PageRank. Google has stated that 301 Redirects do pass PageRank to the destination URL, though some minimal loss can occur naturally during the re-crawl and re-index process.

The key factors that affect how much link equity transfers include:

Fact: Google has confirmed that 301 and 302 Redirects now pass PageRank equivalently. However, 301 remains the correct choice for permanent domain moves because it sends the clearest, most unambiguous signal to search engines about the permanent nature of the change.

Setting Up 301 Redirects for a WordPress Site

If your site runs on WordPress and you need to redirect all URLs from the old domain to the new one, here are the most reliable approaches.

Recommended: Redirection Plugin

  1. Install the free Redirection plugin (200,000+ installs) from WordPress.org.
  2. Go to Tools → Redirection.
  3. Add a redirect: Source URL = /, Target URL = new domain, Type = 301.
  4. For a whole-domain redirect, use .* as a regex pattern in the Source URL field.

Via .htaccess on WordPress Hosting

Open the .htaccess file on the old hosting and add this block before the WordPress default rules:

RewriteEngine On
RewriteCond %{HTTP_HOST} ^(www\.)?olddomain\.com$ [NC]
RewriteRule ^(.*)$ https://newdomain.com/$1 [R=301,L]

This redirects both olddomain.com and www.olddomain.com to the matching URL on newdomain.com.

Complete Domain Migration Checklist

Moving a domain correctly involves more than just setting up a redirect:

  1. Register the new domain first — Confirm it's available and register it before making any changes.
  2. Set up 301 redirects from old to new — Cover every URL, not just the homepage.
  3. Update canonical URLs on the new domain — All canonical tags should point to the new domain.
  4. Update sitemap.xml — Your sitemap on the new domain should list the new domain URLs.
  5. Notify Google Search Console — Use the "Change of Address" tool in Search Console to officially inform Google.
  6. Submit the new domain's sitemap — In your new domain's Search Console property.
  7. Update important backlinks — Reach out to sites linking to you and ask them to update their links to the new domain.
  8. Monitor for 3–6 months — Use Search Console to track indexing and ranking progress.

Common Mistakes That Can Hurt Your SEO

How Long Does It Take for Google to Transfer Rankings?

There is no fixed timeline — it depends on site size, number of backlinks, and Googlebot crawl frequency. In general:

Tip: Do not delete or let the old domain expire immediately after migrating. Keep the 301 redirect active for at least one year so that backlinks pointing to the old domain continue passing SEO value to the new domain.

Frequently Asked Questions

What should I do in Google Search Console after a domain redirect?

Do two things: 1) Add the new domain to Search Console and verify ownership. 2) Use the "Change of Address Tool" in the old domain's Search Console account to officially tell Google about the permanent move. This can speed up the ranking transfer process.

Should I set up the redirect before or after building content on the new domain?

Build out the new domain first — with content, an SSL certificate, and a sitemap — then enable the redirect. If you redirect to a site with 404 errors, Google will penalize the destination rather than transferring equity.

Can I redirect a .com to a .co.th or vice versa?

Yes — 301 Redirects work across any TLD combinations. What matters is that you configure them correctly so every URL maps to the right destination on the new domain.

Register a Domain with AsiaGB

Starting from 500 THB/year — .com, .co.th, .in.th and more, with free DNS Management to configure redirects yourself.

View Domain Pricing →