Hand on heart — have you ever changed a URL on your WordPress site and then had that “oh crap” moment when you realised all your old links might be sending visitors to the internet equivalent of a brick wall? Yeah, me too. More times than I care to admit. That’s when we need 301 redirects!
I still remember the first time I botched a site migration for a client back in 2017 (sorry, Dave from Kettering Plumbing Supplies!). Watching his organic traffic nosedive by 64% overnight because I forgot about redirects was… well, let’s just say I didn’t sleep much that week.
Look, redirects aren’t the sexiest topic in web design — I get it. They’re about as exciting as watching paint dry at your in-laws’ house. But HOLY MOLY are they important.
And here’s the kicker — you absolutely don’t need another bloated plugin slowing down your site to handle them properly. That’s like buying a Ferrari just to drive to the corner shop for milk.
So grab a cuppa (or something stronger if you’ve just broken your site), and let’s sort this redirect business out once and for all.
WTF Are Redirects Anyway?
In plain English? Redirects are digital signposts that say “Oi, the page you’re looking for isn’t here anymore — but don’t worry, I’ll send you to the right place!”
Think about it — if your favourite local café moved down the street, wouldn’t you want a sign on the old door telling you where they’ve gone? A redirect is exactly that, but for your website. Without it, visitors just get the dreaded 404 page, which is about as welcoming as a slammed door with “GO AWAY” painted on it.
The most common type we use in WordPress is the 301 redirect, which basically means “this page has permanently moved, please update your bookmarks and, pretty please Google, transfer all that lovely SEO juice to the new page.”

Why Should You Give a Flying Fig About Redirects?
Let’s be real for a second — redirects aren’t just some techy nice-to-have. They’re CRUCIAL, and here’s why:
1. SEO Juice That Took AGES to Build
Picture this: you’ve spent months (years?) building up your SEO cred. You’ve got backlinks from other sites, good rankings, people actually FINDING your content… and then you change a URL without a redirect.
POOF! 💨
All gone. Just like that time I spent three hours on a proposal only to have Word crash before saving. (Still not over it.)
“Proper implementation of redirects is critical when permanently moving a webpage. The 301 redirect passes between 90-99% of link equity (ranking power) to the redirected page.” — Moz’s Beginner’s Guide to SEO
That’s right — without redirects, every external link becomes a dead end. And rebuilding that SEO authority? It’s like trying to fill a bathtub with a teaspoon. Painfully slow.
2. User Experience (AKA Not Pissing People Off)
We’ve ALL been there — clicking a link and getting the dreaded “Page Not Found.” It’s annoying AF, right?
I was trying to order takeaway last night and hit a 404 page. Did I persevere and try to find the menu another way? NOPE. I was ordering from someone else within 30 seconds.
According to some fancy research by Nielsen Norman (these folks are like the Gandalf-level wizards of UX):
“The presence of 404 errors creates a negative user experience and damages the credibility of your website. Users encountering dead links often leave websites, increasing bounce rates.” — Nielsen Norman Group, User Experience Research
Translation: 404s = visitors going “nah, this site’s broken” and bouncing faster than a toddler on a sugar high.
3. Making Sense of Your Analytics
Without redirects, your analytics data gets split between old and new URLs. Suddenly you’re looking at what seems like two different pages when it’s actually the same content that just… moved house.
It’s like trying to count party guests when they keep switching outfits — confusing and ultimately pointless.

The Different Flavours of Redirects (and When to Use ‘Em)
Right, let’s break down the redirect types without making your eyes glaze over:
| Redirect Type | HTTP Code | When to Use | SEO Impact |
|---|---|---|---|
| Permanent Redirect | 301 | When a page has moved forever and ever amen | Passes 90-99% of link equity |
| Temporary Redirect | 302 | When a page is on holiday but coming back | Minimal SEO value passed |
| Not Found | 404 | When a page doesn’t exist and has no replacement | Negative – leads to dead ends and poor UX |
| Soft 404 | 200 | NEVER EVER. This is like lying to visitors & Google | Harmful to SEO |
| Meta Refresh | N/A | Almost never (unless you’re building a time machine to 1999) | Google hates these |
| JavaScript Redirect | N/A | For fancy user interactions, not for regular redirects | Unreliable for SEO |
For 99% of WordPress site changes, the 301 redirect is your BFF. It basically tells search engines, “Hey, this page has moved permanently — please update your records and transfer the SEO goodness to the new place.”

How to Create Redirects Without Another Bloody Plugin
Alright, here’s the meat and potatoes — how to actually DO this without adding yet another plugin that’ll slow your site down to a crawl. I’ve arranged these from “quite easy” to “you might need another coffee first.”
Method 1: The .htaccess File Way (For Most WordPress Sites)
This is my go-to method for most sites since practically all WordPress installations run on Apache servers.
Step 1: Connect to your site via FTP or your hosting’s file manager (If you’re thinking “FTP what now?” — call your web person. Seriously.)
Step 2: Find the .htaccess file in your root WordPress directory
Step 3: DOWNLOAD A BACKUP FIRST! (I once skipped this step and — spoiler alert — had to restore from backup after breaking an entire site. Learn from my pain.)
Step 4: Add your redirect code above the WordPress rules:
# 301 Redirects - added by Mark on 22/03/2025
Redirect 301 /old-page/ https://www.yoursite.com/new-page/
Redirect 301 /old-category/ https://www.yoursite.com/new-category/
For trickier stuff like redirecting entire sections with wildcards, you’ll need:
# More complex redirects - this one's a doozy
<IfModule mod_rewrite.c>
RewriteEngine On
# Redirect an entire section with all its pages
RewriteRule ^old-section/(.*)$ https://www.yoursite.com/new-section/$1 [R=301,L]
</IfModule>
Warning: Be super careful with the syntax here. One wrong character and your entire site could go down faster than my motivation to exercise in January.
If you want your redirects (and everything else) running at warp speed, check out our WordPress Turbo Hosting to Supercharge Your Website because, let’s face it, nobody has the patience for slow loading sites these days.
Method 2: The functions.php Way (For PHP Nerds)
If you can’t access .htaccess or you just prefer PHP (you weirdo), here’s how to add redirects to your theme:
Step 1: Access your theme files via FTP or the WordPress theme editor
Step 2: Open functions.php (or better yet, create a child theme first — trust me on this one)
Step 3: Add this code:
function custom_redirects() {
$request_uri = $_SERVER['REQUEST_URI'];
// Single page redirect
if ($request_uri == '/old-page/') {
wp_redirect('https://www.yoursite.com/new-page/', 301);
exit();
}
// Bulk redirects for when you've made a right mess of things
$redirects = array(
'/outdated-page/' => '/fresh-page/',
'/old-product/' => '/new-product/',
'/ancient-post/' => '/modern-post/'
);
foreach ($redirects as $old => $new) {
if ($request_uri == $old) {
wp_redirect('https://www.yoursite.com' . $new, 301);
exit();
}
}
// Wildcard redirect for an entire section
if (strpos($request_uri, '/old-section/') !== false) {
$new_url = str_replace('/old-section/', '/new-section/', $request_uri);
wp_redirect('https://www.yoursite.com' . $new_url, 301);
exit();
}
}
add_action('template_redirect', 'custom_redirects');
The good thing is you can get fancy with PHP logic. The bad thing? This code runs on EVERY. SINGLE. PAGE. LOAD. So keep your list short and sweet or your site will run like it’s wading through treacle.
BTW, if you’re interested in how your overall site structure impacts SEO (which goes hand-in-hand with redirects), have a gander at our Ultimate Guide to Site Structure & Internal Linking.
Method 3: The wp-config.php Emergency Method
This is for when you’ve really messed up and need a fast fix:
Step 1: Access wp-config.php via FTP (AND MAKE A BACKUP FIRST!)
Step 2: Add redirect code before the “stop editing” line:
// 301 Redirects - EMERGENCY FIX
if ($_SERVER['REQUEST_URI'] == '/wrong-url-i-just-sent-in-newsletter/') {
header('Location: https://www.yoursite.com/correct-url/', true, 301);
exit;
}
I only use this method when I’ve done something really stupid — like the time I sent an email to 15,000 subscribers with the wrong product URL. Not that I’ve ever done that. awkward silence
Method 4: Nginx Config (For Fancy Pants Servers)
If your WordPress site runs on Nginx instead of Apache, you’ll need:
server {
# Other stuff...
# 301 redirects
location = /old-page/ {
return 301 https://www.yoursite.com/new-page/;
}
location ^~ /old-section/ {
rewrite ^/old-section/(.*) /new-section/$1 permanent;
}
# More server config...
}
But if you’re on Nginx, you probably already know what you’re doing or you have a server person who does. If not… how did you end up on Nginx? It’s like accidentally buying a helicopter when you meant to get a bicycle.

Real-World Redirect Scenarios (That I’ve Actually Had to Fix)
Let’s walk through some common redirect scenarios I’ve had to deal with:
The “I Just Changed All My Permalinks Because Someone Said It Was Good for SEO” Disaster
This is a classic! You switched from /2025/03/post-name/ to just /post-name/ and now everything’s broken. In .htaccess, add:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^[0-9]{4}/[0-9]{2}/(.*)$ /$1 [R=301,L]
</IfModule>
I had a client (let’s call him Barry) who did this without telling me, then called in a panic because his traffic dropped by 80% overnight. Fixing his redirects was like performing emergency surgery while he hyperventilated over my shoulder.
The “Categories Are Now Pages” Switcheroo
RedirectMatch 301 ^/category/old-category/?$ https://www.yoursite.com/new-page/
The “OMG We Need HTTPS Now” Panic
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
</IfModule>
Had a client call me at 9PM on a Friday because Google sent her an “HTTPS or else” email. Her exact words were: “Fix it NOW or my business is DOOMED!” We had it sorted by 9:30 PM, and yes, I charged the emergency rate. 💰

Testing Your Redirects (Because Hope Isn’t a Strategy)
ALWAYS test your redirects after setting them up:
- Visit the old URL in an incognito browser (so your cache doesn’t trick you)
- Try online tools like redirectcheck.com
- Check Google Search Console’s URL inspection tool
- Look for 404 errors in your logs
- Keep an eye on traffic in Google Analytics
I once thought I’d set up redirects perfectly for a site migration, only to discover a month later that mobile users were still hitting 404s because of some weird cache issue. The moral? Test on multiple devices and browsers!
For more on keeping your WordPress site structure SEO-friendly (which includes proper redirects), check out Website Navigation & SEO: Boost Your Rankings with Smart Site Structure.
Redirect Fails I’ve Seen (And Made Myself)
After 12+ years of building and fixing WordPress sites, I’ve seen some SPECTACULAR redirect fails:
1. The Infinite Loop of Doom
This happens when page A redirects to page B, which redirects back to page A. Your browser eventually gives up with a “too many redirects” error, and your visitors run away screaming.
I once created a redirect loop on a client’s checkout page. The sales calls stopped instantly — funny that.
2. The Redirect Chain from Hell
Page A → Page B → Page C → Page D
Each hop loses SEO value AND slows down the user experience. Always redirect straight to the final destination.
I inherited a site with FIFTEEN redirects in a chain. FIFTEEN! It was like playing “Six Degrees of Kevin Bacon” but with URLs.
3. Forgetting About Images
You moved your blog posts but forgot about the /wp-content/uploads/ folder. Now all your images are 404ing. Oops!
4. Using 302s When You Mean 301s
A 302 says “this move is temporary” — like when you’re redecorating a page. If the move is permanent, use 301, or Google will keep the old URL in its index.
I still cringe remembering a client who used 302 redirects for an entire site migration, then wondered why they weren’t ranking for anything six months later. 🤦♂️
5. The “I’ll Set Up Redirects Tomorrow” Fail
Always ALWAYS set up redirects BEFORE changing URLs. Even a few hours of dead links can tank your SEO and confuse visitors.

Next-Level Redirect Strategies (For Overachievers)
If you’ve mastered the basics and want to get fancy:
Content-Aware Redirects
Instead of just redirecting old product A to new product category, redirect it to the most similar product. It takes more work but creates a much better user experience.
I did this for an e-commerce client with 5,000+ products, mapping each discontinued item to its closest replacement based on specs and category. Their conversion rate for redirected traffic jumped by 34%!
Spring Cleaning Your Redirects
Check your redirects every 6 months. I once audited a site with redirects pointing to pages that had themselves been redirected THREE TIMES. It was like a weird URL version of telephone game.
Using Analytics to Find Redirect Opportunities
Check your 404 error pages in Google Analytics. These are pages people are trying to reach but can’t — perfect candidates for redirects!
I found a client was missing out on ~1,200 visits per month to old URLs that weren’t properly redirected. That’s 14,400 potential customers per year just… vanishing!
Proper redirect management isn’t a set-it-and-forget-it thing; it needs ongoing love. Speaking of ongoing WordPress care, have you seen our guide to The 7 Deadly Sins of WordPress Maintenance (And How We Save You from Them)? Redirect neglect is definitely one of those sins!

FAQ: The Stuff You’re Too Afraid to Ask About Redirects
Do redirects slow down my site?
Yes, but barely if done right. Server-level redirects add just a few milliseconds. BUT redirect chains? They’ll make your site slower than a snail on sleeping pills.
How many redirects can I add before my site explodes?
Lots, probably. For .htaccess, hundreds are usually fine if they’re organized well. For functions.php, keep it lean and mean — under 20 if possible.
Will redirects hurt my Google rankings?
Good redirects? No. Bad redirects? Absolutely. Proper 301 redirects preserve most of your SEO juice. Chains, loops, or using 302s instead of 301s will hurt you.
How long should I keep redirects?
At LEAST a year, ideally forever for important pages. I still have clients benefiting from redirects I set up in 2015. Google will eventually update its index, but those old links from other sites? They might never get updated.
Can I redirect a WordPress site to a completely different platform?
Yep! The redirect methods work regardless of what CMS the destination uses. Super handy for platform migrations.
What’s with the 301 vs 302 thing again?
301 = permanent move. Use this 99% of the time. 302 = temporary detour. Only use for genuinely temporary situations like “this page is under maintenance for the next 2 hours.”
Can I redirect based on what device someone’s using?
Yes, but it gets complicated. You can set up conditional redirects based on user-agent (device) or IP address (location), but you’ll need more complex code. Not for the faint of heart!

The Last Word: Don’t Mess Up Your Redirects
Look, I’ve seen businesses lose thousands of pounds in revenue because of botched redirects. I’ve also seen sites maintain or even improve their rankings through major redesigns because they got their redirects spot-on.
The difference? About 2-3 hours of work setting up proper redirects.
That’s it. A couple of hours that can literally save your business from an SEO nosedive. So don’t skip this step, don’t leave it till later, and for the love of all things digital, don’t rely on a plugin that adds bloat to your site when these native methods work perfectly.
And remember — a stitch in time saves nine. Setting up redirects correctly from the start is WAY easier than trying to recover from redirect disaster later on.
For more on keeping your WordPress site running like a dream, check out our Ultimate WordPress Support & Maintenance Plan — because your site deserves better than emergency fixes at midnight.
Need a hand with your WordPress redirects or just want someone who won’t muck them up in the first place? At McNeece Web Design, we’ve seen (and fixed) pretty much every redirect disaster imaginable. Drop us a line or give us a ring on 07785 326603. We promise not to judge your current redirect situation… much.
