A 301 redirect is a permanent redirect: it tells browsers and Google that a page has moved for good to a new URL. Google treats it as a strong signal that the new URL should be shown in search results instead of the old one. Used correctly, a 301 does not cause a ranking penalty. Use it for permanent moves; use a 302 or 307 only when the move is temporary.
You changed a page URL, deleted an old blog, or moved your site to HTTPS, and now you are worried. “Ranking girti hai kya?” This is the most common question we get about redirects. This post explains what a 301 redirect is, when to use it, how to set it up in WordPress, and the mistakes that actually do hurt SEO.
What is a 301 redirect?
When someone opens an old URL, the server replies with status code 301 Moved Permanently and the new address. The browser jumps to the new page automatically. Google does the same, and over time it replaces the old URL with the new one in its index.
Google’s redirects documentation says permanent redirects (301 and 308) tell Google to show the redirect target in results, and that the indexing system uses the redirect as a signal that the target should be the canonical (main) URL.
Simple example: your old page is example.com/seo-course.html and the new page is example.com/seo-training-jaipur/. A 301 on the old URL sends every visitor, bookmark and backlink to the new page.
301 vs 302 vs other redirects
| Redirect | Meaning | What Google shows | Use it when |
|---|---|---|---|
| 301 | Moved permanently | New URL | URL change, page merge, HTTP→HTTPS, domain change |
| 308 | Permanent (keeps request method) | New URL | Same as 301, mostly used by developers for forms/APIs |
| 302 / 307 | Temporary | Usually old URL | Short sale page, A/B test, page under maintenance |
| Meta refresh (0 seconds) | HTML-based instant redirect | Treated as permanent | Only when you cannot set server redirects |
| JavaScript redirect | Script sends user to new URL | Only if Google renders it | Last option; Google may not see it |
Google states that an instant meta refresh is treated as permanent, a delayed one as temporary, and that JavaScript redirects should be used only when server-side or meta refresh redirects are not possible.
Does a 301 redirect hurt ranking?
Not by itself. Back in 2016 Google’s Gary Illyes said 30x redirects no longer lose PageRank (Search Engine Land report). Rankings drop after redirects for other reasons:
- The new page is weaker or about a different topic than the old one.
- Many old URLs are sent to the homepage instead of matching pages.
- Long redirect chains or loops.
- Internal links still point to old URLs, so Google keeps crawling redirects.
- Normal short-term movement while Google processes the change.
Google’s site move guide says visibility can fluctuate during a move and that small to medium sites usually take a few weeks for most pages to move over.
When to use a 301 redirect (real examples)
- You changed a URL slug.
/blog/seo-tips-2022/becomes/blog/seo-tips/. - You merged two similar posts. On our own blog, the old post “is digital marketing and SEO same thing” is being merged into Digital Marketing vs SEO: what’s the difference, and the old URL will 301 to it so readers and links are not lost.
- You moved to HTTPS or chose www vs non-www. Every version should 301 to one final version.
- You changed your domain. Redirect every old URL to its matching new URL, then use Search Console’s Change of Address tool.
- You deleted a product or course and have a close replacement. Redirect to the replacement, not the homepage.
When NOT to use a 301
- The page is gone and nothing replaces it. Return a 404 or 410. That is more honest than forcing visitors to an unrelated page.
- The move is temporary. A festival offer page or a maintenance page should use a 302 or 307, so Google keeps the original URL.
- You only want to fix duplicate versions that both must stay live (for example, a print version). A
rel="canonical"tag may suit better than a redirect.
How to set up a 301 redirect in WordPress
Option 1: A plugin (easiest)
- Install a redirect plugin such as Redirection (free), or use the redirect module in your SEO plugin (Rank Math includes one; in Yoast it is a Premium feature).
- Add the old path in “Source URL”, for example
/old-page/. - Add the full new URL in “Target URL”.
- Choose 301 as the type and save.
- Open the old URL in an incognito window to confirm it lands on the new page.
Option 2: .htaccess (Apache / cPanel hosting)
Add one line per redirect near the top of the file, after taking a backup:
Redirect 301 /old-page/ https://www.example.com/new-page/
On Nginx servers the developer adds a return 301 rule instead. A wrong .htaccess line can break the whole site, so test straight away.
How to check a redirect
Use Search Console’s URL Inspection tool, your browser’s developer tools (Network tab shows the 301 status), or any free “HTTP status checker”. You should see exactly one 301 and then a 200 on the final page.
Redirect mistakes that actually hurt SEO
- Redirect chains. A → B → C → D. Googlebot can follow up to 10 hops, but Google’s site move guide recommends redirecting old URLs directly to the final destination; if a chain cannot be avoided, keep it to ideally no more than 3 hops.
- Everything to the homepage. Visitors who wanted a specific page land somewhere irrelevant and leave.
- Using 302 for a permanent move. Google may keep showing the old URL.
- Removing redirects too early. Google advises keeping them as long as possible, generally at least one year.
- Not updating internal links. Change menu, footer and in-content links to the new URL so users skip the redirect.
- Redirect loops. A → B → A. The page never loads.
Before any URL change, export a list of old URLs with their traffic from Search Console. Map each one to its best new page in a sheet. That one sheet prevents most of the migration problems we see in student projects.
— Vijay Singh, Infonic trainer
Quick 301 migration checklist
| Step | Done? |
|---|---|
| Export all old URLs (sitemap + Search Console pages) | ☐ |
| Map each old URL to one matching new URL | ☐ |
| Set up 301s (one hop each) | ☐ |
| Update internal links, canonicals and sitemap | ☐ |
| Test 20–30 key URLs manually | ☐ |
| Watch Search Console Pages report for 4–6 weeks | ☐ |
| Keep redirects live for at least a year | ☐ |
Redirects are one part of a healthy site. For the full technical list (speed, structure, indexing), see our SEO-friendly website checklist. For the bigger picture of ranking in Google and AI answers, read our SEO strategy for 2026.
Changing URLs or moving your site soon? Learn to plan redirects and audits on real WordPress sites in our SEO course, starting with a free demo.
How Infonic helps
Our SEO training in Jaipur covers technical SEO, including redirects, canonical tags, sitemaps and Search Console reports, on live WordPress sites. You can join a 15-day, 45-day or 3-month track, offline or online with recordings, after a free demo class.
Frequently asked questions
How long does Google take to process a 301 redirect?
It depends on how often Google crawls the old URL. Important pages may update within days; less-visited pages can take weeks. For whole site moves, Google says small to medium sites usually need a few weeks for most pages. Updating your sitemap and internal links helps Google find the change sooner.
Kya 301 redirect se backlink ki value new page ko milti hai?
Yes. Google has said that 30x redirects do not lose PageRank, so links pointing to the old URL help the new URL, as long as the new page is a genuine replacement on the same topic. Redirecting to an unrelated page is where you can lose that value.
Should I redirect deleted pages to the homepage?
Usually no. If there is a close replacement page, redirect there. If there is none, a 404 or 410 status is fine and honest. Sending many unrelated old pages to the homepage frustrates visitors and does not help rankings.
Can I remove a 301 redirect later?
Google recommends keeping redirects as long as possible, generally at least one year. Many SEOs keep them permanently, because old backlinks and bookmarks keep sending visitors for years. The cost of keeping them is very small.
Is a 308 better than a 301?
For SEO, Google treats 301 and 308 the same way: both are permanent. The difference is technical: a 308 keeps the original request method, which matters for forms or APIs. For normal page moves, a 301 is standard and fully fine.
Next step: list every URL you plan to change, map each to its new home, and set one-hop 301s. If you want help reviewing your redirect plan, WhatsApp +91 97828-60519 or book a free SEO demo class at Infonic.