How to Redirect a URL in WordPress Safely
Send old WordPress URLs to the correct new destination without causing loops, broken links, or lost traffic.
Before you start
Step-by-step instructions
1. Use a redirect plugin for the safest non-code workflow
If you only need to manage redirects without touching server files, a dedicated redirect plugin is usually the safest option for most WordPress users.
It keeps the redirect logic in a normal admin workflow and is easier to review, edit, and remove later than raw file changes.
2. Add the old path and the new destination carefully
Enter the original URL path as the source and the new URL as the target. Make sure you are not accidentally redirecting a page back to itself or to the wrong slug.
If the old page was /old-page/ and the new page is /new-page/, the redirect should move traffic directly from the first path to the second one.
3. Use .htaccess if you want a direct Apache redirect
If your hosting uses Apache and you want a direct server-level redirect, add a rewrite rule to .htaccess.
Redirect 301 /old-page/ https://example.com/new-page/
This is useful when you want a simple, permanent redirect without depending on a WordPress plugin for that one rule.
4. Keep the redirect simple and direct
Do not chain multiple redirects together if you can avoid it. The old URL should go directly to the final new URL whenever possible.
Redirect chains slow things down, complicate troubleshooting, and make maintenance messier over time.
5. Test both the old URL and the new URL immediately
After saving the redirect, open the old URL directly and confirm it lands on the correct destination. Then open the new URL itself and confirm it loads normally on its own.
The old URL should redirect once to the correct final page. The new page should not bounce again in a confusing way.
6. Clear cache if the redirect looks inconsistent
If the redirect seems to work on one device but not another, clear browser cache, plugin cache, and CDN cache before assuming the rule is broken.
Old cached responses often make redirect testing look inconsistent even when the rule was added correctly.
Common situations this fixes
A redirect keeps visitors and search traffic moving to the new page instead of landing on a 404.
A 301 redirect is the normal way to send traffic from the old page to the replacement page.
Redirects prevent older bookmarks, shared links, and indexed URLs from becoming dead ends.
Redirects reduce broken access after permalink-related URL changes.
Common mistakes
Always test the target page first. A redirect to the wrong page is still a broken user experience.
If the old and new paths interact badly, the browser may get stuck in repeated redirection and the page will fail.
A broad rule can accidentally catch unrelated URLs and send visitors to the wrong place.
Cached behavior can make a new redirect look broken or make an old redirect appear to still exist.