For a page that has moved for good, send one permanent redirect (301 or 308) from the old URL straight to the final URL. Google prefers server-side redirects, so use server configuration if you can, and a redirect plugin otherwise. Then test the old URL: it should show one hop and a 200 at the end.
What Google says about redirect types
Google's redirect documentation splits redirects by how the indexing pipeline treats them. Permanent ones (301, 308, a zero-second meta refresh, JavaScript location changes) are a signal that the target should be canonical, and Google advises using them only when you are sure the redirect will not be reverted. Temporary ones (302, 303, 307, delayed meta refresh) are followed by Googlebot but are not a canonical signal, so the source URL can stay in results. Pick temporary only when the move really is temporary.
The same page ranks the methods. Server-side redirects come first because they are most likely to be interpreted correctly, set in server configuration such as Apache .htaccess or NGINX, or in server-side code. Meta refresh is the fallback, and JavaScript redirects are for cases where nothing else works, since Google may not render the page.
Methods compared
| Method | What the vendor documents | Best for | Watch for |
|---|---|---|---|
| Server configuration (Apache, NGINX) | Google names it the preferred route | Site-wide rules, domain or https moves | Needs file or server access. A syntax error can take the site down |
| Redirection plugin | Creates and manages redirects, matches by regular expression, groups them, logs redirects and 404 errors, imports and exports to Apache and Nginx | Many single-page moves and fixing logged 404s | Its support page lists no redirect types, so confirm the type in its settings |
| Rank Math Redirections | Rank Math SEO, Redirections, Add New. Types 301, 302, 307, with 410 and 451 as maintenance codes. Module must be enabled and Advanced mode on | Sites already running Rank Math | No 308 in the article. CSV import and sync to .htaccess are marked PRO |
| Yoast Premium Redirect Manager | Part of Yoast SEO Premium. Types 301, 302, 307, 410, 451. Creates a redirect when a URL changes. Can write to Apache or NGINX config | Slug changes during normal editing | Behavior on deletion is described unclearly. Check what it did after deleting a post |
| Hosting panel redirect tool | We found no vendor documentation to quote | Whole-domain redirects | Panels differ. Check the response type after saving |
Paths and limits come from each vendor's page as read on 2026-11-12. Menu names move between releases, so confirm them in your dashboard.
Chains and why they cost you
Google's site move guide says Googlebot can follow up to 10 hops, that chains add latency for users, and that not every browser supports long ones. It advises pointing each old URL at the final destination, and keeping unavoidable chains to ideally no more than 3 and fewer than 5. When you add a new redirect, update older ones that end at the URL you just moved so they skip the middle step.
Steps to add and verify a redirect
- List the old URLs and their final destinations. Choose the closest equivalent page, not the homepage.
- Create the redirect by your chosen method, with type 301 unless the move is temporary.
- Test the old URL with the noindex checker, which shows the redirect chain, final status, noindex and canonical. Or run the command below.
- Update your sitemap, menus and internal links to the final URLs.
- Keep the redirect in place for at least a year, per Google's guide.
# Apache (.htaccess), example paths
Redirect 301 /old-post/ https://example.com/new-post/
# NGINX, inside the server block
location = /old-post/ { return 301 https://example.com/new-post/; }
# Test: each HTTP line is one hop, the last should be 200
curl -sIL https://example.com/old-post/ | grep -iE "^(HTTP|location)"
The two config lines are generic examples of common syntax, not copied from the vendor pages above. Back up your config before editing it.
Related situations
If Search Console lists redirecting URLs, see page with redirect to decide which need action. Planning a redesign or domain change? Read traffic dropped after a redesign or migration. When switching SEO plugins, carry redirects over using the plugin switch guide.
We did not test these plugins on a live site. The behavior described is what each vendor's page states, and Redirection's support page does not state its redirect types or its cost.
Questions people ask
Is a 301 or a 308 better for SEO?
Google treats both as permanent redirects and uses them as a signal that the new URL should be canonical. Its site move guide names 301 and 308 as the permanent server-side types to prefer. Rank Math's documentation lists 301, 302 and 307, so choose 301 there.
Can I redirect with JavaScript or a meta refresh?
Google lists server-side redirects as preferred, meta refresh as a fallback, and JavaScript redirects only when neither is possible, because Google may fail to render the page and never see the redirect.
Does a plugin redirect slow the site down?
Yoast says its Redirect Manager can be configured to write directly to the Apache or NGINX configuration for speed, which suggests server-level rules are faster. We found no measured figure, so test your own site.
How long do I keep a redirect?
Google's site move guide says generally at least a year, and that keeping it longer can help users. Update your own links so visitors do not depend on it.
Related
Sources
- Google Search Central: Redirects and Google Search, accessed 2026-11-12.
- Google Search Central: Site moves with URL changes, accessed 2026-11-12.
- Rank Math: Setting up Redirections, accessed 2026-11-12.
- Yoast: Redirect manager, accessed 2026-11-12.
- Redirection plugin: support page, accessed 2026-11-12.