Web Development

Changing Web Hosting Without Losing Your Google Rankings: A Move Checklist for WordPress

Moving to a new host? Using Google's hosting-change guide, the WordPress handbook and DNS and SSL documentation, this checklist covers backups, testing, DNS TTL, email records, certificates and Search Console.

zabil

8 menit membaca
Pile of empty open cardboard boxes on a grey floor against a white wall

Changing web hosting is a job where small mistakes show up quickly: the site goes down, a form stops working, the padlock disappears, or email goes quiet. Google has a guide written for exactly this move. This article turns that guide, the WordPress handbook and the DNS and SSL documentation into one checklist for a WordPress site whose address stays the same.

What counts as a hosting move, and what does not

Google defines it narrowly: “A change in hosting infrastructure means switching hosting providers or moving to a content distribution network (CDN).” Its guide is “only for migrations that don’t affect the user-visible URL.”

If the address changes, you need a different process. Google’s Search Console Help says the Change of Address tool is not for “Moving a site without any user-visible URL changes (that is, when your site URL remains the same but you are changing hosting providers or CDNs)”. Google’s advice for domain moves is the nearest guidance on combining jobs: if you combine a move with a redesign of the content and URL structure, you will “probably see some traffic loss”. Our reading is that the same caution fits a hosting move, so move first and redesign later. Our guide to redesigning a website without losing SEO covers that job.

Step 1: Back up, then copy the site

The WordPress handbook says to begin by backing up your WordPress directory, images, plugins and other files, as well as the database. If the database and URL stay the same, you can move by copying the files and the database. If the database name or user changes on the new host, edit wp-config.php with the new values.

Read WordPress backups for small business first, and check which PHP version the new host runs: our PHP version guide explains how.

Step 2: Test the copy without letting Google index it

Google suggests a testing environment, “perhaps with IP-restricted access”, where you check pages, images, forms and downloads such as PDF files. You can also use a temporary hostname such as beta.example.com, and Google says: “To prevent accidentally letting the test site get indexed, add the noindex robots rule to the HTML or the HTTP headers of your pages.”

The WordPress handbook adds a catch: if you want to test before you switch, you must temporarily change siteurl and home in the wp_options table. WordPress also has a setting, Discourage search engines from indexing this site, which since version 5.3 adds a noindex,nofollow robots tag. In WordPress core, that tag depends on an option stored in the database (blog_public), so our reading is that a copied database can carry the setting with it. Before launch, view the source of a few pages (how noindex works).

Google is explicit that blocks must go: “Be sure to remove any such blocks from the new copy of the site when you’re ready to start the move.”

Step 3: Check that Googlebot can reach the new server

Google recommends creating a Search Console account if you do not have one, then using the URL Inspection Tool to check that Googlebot can reach the new infrastructure. Its caution: “Check your firewall configuration or denial of service (DoS) protection.” These must not block Googlebot’s ability to reach the DNS or the hosting provider’s servers. Ask your new host whether it runs a firewall or protection layer in front of the site. If a CDN or Cloudflare sits in front, our post on putting your website behind a CDN explains what Google says.

Other crawlers matter too. Meta’s documentation says its link-preview crawler needs gzip and deflate encodings and must reach your content “within a few seconds”; see why a shared link shows the wrong image or title.

Step 4: Lower the DNS TTL a week ahead

Google advises lowering the TTL value of your DNS records so new settings reach ISPs faster: “Consider lowering the TTL to a conservative low value (for example, a few hours) at least a week in advance of the move.”

The reason for the week is in Google Workspace’s DNS documentation. A record’s current TTL decides how long a change takes: with a TTL of 86400 seconds, a change takes up to 24 hours to go into effect. Lowering the TTL only takes effect after the old period expires. Once everything is correct, the same page recommends a TTL of 86400 again.

Step 5: Copy every DNS record, not only the website

Moving the website usually means changing the A record, and possibly an AAAA record for IPv6. Meta’s link-sharing FAQ shows why the second one matters: its crawler “will look for a AAAA record and return a response code 0 if it is not found”, and it tells you to make sure that record is updated when you change your server.

If you switch name servers to the new host, the new DNS zone must hold everything the old one did. The Google Workspace DNS page describes what those records do: MX records direct a domain’s email to the servers hosting the user accounts, and TXT records are used to verify domain ownership and to implement email security measures such as SPF, DKIM and DMARC. Our reading is that a missing MX record in the new zone would leave your email with nowhere to go. For the email side, see business email on your own domain and contact form emails that do not arrive.

Step 6: Plan the SSL certificate

The padlock needs its own step. Let’s Encrypt, a common certificate authority, describes its HTTP-01 challenge as a file placed on your web server at http://<YOUR_DOMAIN>/.well-known/acme-challenge/<TOKEN>, which it then tries to retrieve. cPanel’s SSL/TLS Status page lists, as an example of an AutoSSL problem, a domain that “does not resolve to an IPv4 address on the internet”. We read this to mean that an automatic certificate on the new host may not be issued until the domain actually points there. Let’s Encrypt also describes a DNS-01 challenge that works in scenarios HTTP-01 cannot.

Your host may use another method, so ask which one and when the certificate will appear. If visitors see a warning after the switch, your connection is not private explains the causes.

Step 7: Keep Search Console working

Google reminds you to check that verification survives the move. If you verified with the HTML file method, include the verification file in the new copy. If you used a meta tag or Google Analytics in your templates, “ensure the new CMS copy includes these as well.” If you verified with a DNS TXT record, our reading is that it must exist in the new zone too if you changed name servers.

Step 8: Switch, watch and shut down last

You start the move by updating the DNS records. Then watch: Google says to keep an eye on the server logs of both hosts, where you will see traffic drop on the old servers and rise on the new ones, and to use different public DNS checking tools to see that ISPs around the world update. Monitor crawling in Search Console too (the Page indexing report).

Expect a dip in crawling: “it’s normal to see a temporary drop in Googlebot’s crawl rate immediately after the launch, followed by a steady increase over the next few days”. Open inner pages, forms and images, not just the homepage, because WordPress’s handbook flags permalink rewrites as something to reconfigure when the site goes live. If you find broken pages, read do 404 errors hurt SEO.

Shut down the old hosting last: “once the traffic to the old provider reaches zero, you can shut down your old hosting infrastructure.” Keep a backup of the old site and mailboxes until you are sure, and confirm who controls the domain, hosting and logins (who owns your website).

Sources and limits

This article draws on Google Search Central, Changing your hosting (updated 10 December 2025); Search Console Help, Change of Address tool; Google Workspace Admin Help, DNS basics (updated 10 November 2026); WordPress Handbook, Migrating WordPress (updated 14 October 2026) and Settings Reading Screen; Let’s Encrypt, Challenge Types (updated 12 February 2026); cPanel, SSL/TLS Status; and Meta’s Link Sharing FAQ and crawler page. Statements marked as our reading are our interpretation. Your host’s own migration steps and certificate method decide the exact order, so check them first.

If you would rather hand the move to someone else, tell us about your business and we can look at what your site needs. Our systems and technology service covers hosting and maintenance.

Karya terkait

Di mana ini telah diterapkan.

Departemen - SodraTech

Institusi & Organisasi

Departemen MIPA UNHAS

Universitas Hasanuddin

Website resmi departemen yang menyajikan informasi akademik, berita, dan kegiatan, dibangun agar staf dapat mengelolanya sendiri tanpa bantuan teknis.

Lihat Proyek
ITH - SodraTech

Institusi & Organisasi

Admission ITH

Institut Teknologi BJ Habibie

Platform pendaftaran mahasiswa baru yang menangani seluruh proses pendaftaran secara online, mulai dari pengisian formulir, unggah dokumen, hingga pembayaran awal.

Lihat Proyek
Kalimporo - SodraTech

Institusi & Organisasi

Desa Kalimporo

Desa Kalimporo

Platform profil desa yang menyajikan struktur pemerintahan, data kependudukan, potensi lokal, dan program desa kepada khalayak yang lebih luas.

Lihat Proyek

Baca lebih lanjut

Artikel terkait.

Tinggalkan komentar

Your email address will not be published. Required fields are marked *