301 Redirect Mapper
Plan and generate 301 redirect mappings for site migrations and URL changes. Enter values for instant results with step-by-step formulas.
Calculator
Adjust values & calculateGenerated Output
RewriteEngine On Redirect 301 /old-page https://example.com/new-page Redirect 301 /blog/2023/post https://example.com/blog/post Redirect 301 /services/old https://example.com/solutions/new
Formula
A 301 redirect permanently maps an old URL to a new one. The server responds with HTTP status 301, passing approximately 90-99% of link equity to the destination URL. This tool validates mappings and generates server-specific redirect rules.
Last reviewed: December 2025
Worked Examples
Example 1: Blog URL Restructure
Example 2: Domain Migration with Service Pages
Background & Theory
The 301 Redirect Mapper applies the following established principles and formulas. Search engine optimisation and digital marketing performance is quantified through a hierarchy of interconnected metrics. Click-through rate (CTR) divides the number of clicks on a link by the number of times it was shown (impressions), expressing how compelling a headline, ad, or meta description is at a given position. Industry average organic CTR for the top Google result sits around 28 to 35 percent, declining sharply with rank. Cost-per-click (CPC) is the average amount paid each time a user clicks a paid advertisement, calculated by dividing total ad spend by total clicks. Return on ad spend (ROAS) divides total revenue attributed to advertising by total ad spend; a ROAS of 4 means $4 in revenue for every $1 spent. Conversion rate divides completed goal actions (purchases, sign-ups, downloads) by total sessions or unique visitors, bridging traffic metrics to business outcomes. Keyword difficulty scores (typically 0 to 100) estimate how competitive it would be to rank organically for a given search term, based on the authority of pages currently ranking in the top results. PageRank, the algorithm Google was originally built on, modelled the web as a directed graph and assigned each page an authority score proportional to the number and quality of inbound links, treating a link as a vote of confidence weighted by the linking page's own authority. The Flesch Reading Ease formula scores text legibility on a 0 to 100 scale using sentence length and syllable count per word. Higher scores indicate easier reading; most consumer-oriented web content targets scores above 60. Bounce rate measures the percentage of sessions in which a user leaves without triggering a second page view, though its interpretation depends heavily on page purpose. Email open rate benchmarks vary significantly by industry, averaging around 20 to 25 percent across sectors. Social media engagement rate divides total interactions (likes, comments, shares) by total reach or follower count, assessing content resonance beyond simple impression counts.
History
The history behind the 301 Redirect Mapper traces back through the following developments. Before algorithmic search engines, web navigation relied on manually curated directories maintained by human editors. Yahoo launched its categorised directory in 1994 and briefly dominated web discovery by organising sites into a hierarchical taxonomy. Early automated search engines including AltaVista and Excite ranked pages using keyword frequency in on-page content, which immediately spawned keyword stuffing as the first widespread manipulation tactic: publishers repeated target phrases hundreds of times, sometimes rendered in white text on a white background to hide them from readers while remaining visible to crawlers. Google's founding in 1998 by Larry Page and Sergey Brin at Stanford introduced PageRank, a link-graph authority algorithm that shifted ranking signals away from easily gamed on-page text toward the harder-to-fabricate structure of inbound links. This dramatically improved result quality and positioned Google as the dominant search engine within three years of launch. The growing commercial value of first-page rankings created a professional SEO industry that reverse-engineered ranking signals, built link farms, and pursued aggressive anchor text optimisation. Google responded to systematic manipulation with major named algorithm updates: Panda in 2011 penalised low-quality, thin, and duplicate content; Penguin in 2012 targeted unnatural link patterns and link schemes; and Hummingbird in 2013 introduced deep semantic parsing to match query intent rather than literal keyword strings. These updates collectively shifted SEO best practice toward genuine content quality, topical depth, and user experience signals. Facebook launched its self-service advertising platform in 2007, enabling granular demographic, interest, and behavioural targeting at scale for the first time. Social media marketing matured into a distinct professional discipline through the 2010s. Google formalised mobile-first indexing in 2016 and made Core Web Vitals official ranking signals in 2021. From 2023 onward, AI Overviews began surfacing synthesised answers atop search results, creating a zero-click environment that fundamentally challenged traffic-dependent content business models.
Frequently Asked Questions
Formula
Redirect 301 /old-path https://domain.com/new-path
A 301 redirect permanently maps an old URL to a new one. The server responds with HTTP status 301, passing approximately 90-99% of link equity to the destination URL. This tool validates mappings and generates server-specific redirect rules.
Worked Examples
Example 1: Blog URL Restructure
Problem: A website is restructuring its blog URLs from /blog/2023/01/my-post to /blog/my-post. Generate the .htaccess redirect for 3 posts.
Solution: Redirect 301 /blog/2023/01/seo-guide https://example.com/blog/seo-guide\nRedirect 301 /blog/2023/02/content-tips https://example.com/blog/content-tips\nRedirect 301 /blog/2023/03/link-building https://example.com/blog/link-building\n\nAll redirects are direct (no chains) and use absolute destination URLs.
Result: 3 redirect rules generated | 0 errors | 0 warnings
Example 2: Domain Migration with Service Pages
Problem: Migrating from oldsite.com to newsite.com. Map /services/web-design to /solutions/web-design, /services/seo to /solutions/seo-services, /about to /company/about-us.
Solution: Redirect 301 /services/web-design https://newsite.com/solutions/web-design\nRedirect 301 /services/seo https://newsite.com/solutions/seo-services\nRedirect 301 /about https://newsite.com/company/about-us\n\nEach old URL maps directly to the most relevant new page. No chains detected.
Result: 3 redirect rules | Direct mapping | Full link equity preserved
Frequently Asked Questions
What is a 301 redirect and when should I use one?
A 301 redirect is a permanent server-side redirect that tells both browsers and search engines that a page has permanently moved to a new location. It automatically sends visitors and search engine crawlers to the new URL. You should use 301 redirects during site migrations, when restructuring your URL architecture, after deleting or merging pages, when changing domain names, or when consolidating duplicate content. The 301 status code signals to search engines that approximately ninety to ninety-nine percent of the original page's link equity should transfer to the new URL. This makes it crucial for maintaining your search rankings during any URL changes. Without proper 301 redirects, you risk losing organic traffic and accumulated SEO authority.
What is the difference between a 301 and 302 redirect?
A 301 redirect indicates a permanent move, while a 302 redirect indicates a temporary move. With a 301, search engines transfer the link equity and ranking signals to the new URL and eventually remove the old URL from their index. With a 302, search engines keep the old URL indexed because they expect the page to return to its original location. Using a 302 when you should use a 301 is a common mistake that can prevent link equity from passing to the new page, potentially hurting your rankings. Use 302 redirects only for genuinely temporary situations, such as A/B testing, maintenance pages, or geolocation-based redirects where the original URL will be used again in the future.
How do redirect chains affect SEO and performance?
Redirect chains occur when one redirect points to another redirect, creating a sequence like A redirects to B, and B redirects to C. These chains cause several problems for both SEO and user experience. Each redirect in the chain adds latency, typically fifty to five hundred milliseconds per hop, which slows down page load times. From an SEO perspective, Google has stated that they will follow up to five redirects in a chain but may lose link equity with each hop. Some studies suggest each redirect in a chain can cause a loss of about ten to fifteen percent of link equity. Best practice is to always redirect directly from the original URL to the final destination URL, eliminating intermediary hops entirely.
What is the difference between Apache and Nginx redirect syntax?
Apache and Nginx use entirely different configuration syntax for redirects. Apache uses the mod_rewrite module with directives like Redirect 301 or RewriteRule placed in .htaccess files or the main server configuration. Nginx does not support .htaccess files and instead uses rewrite directives or return statements within server block configurations. An Apache redirect like Redirect 301 /old https://example.com/new translates to rewrite ^/old$ /new permanent in Nginx. Apache processes .htaccess on every request which adds overhead, while Nginx reads its config once at startup making it faster. When migrating between servers, you must manually convert all redirect rules to the correct syntax for the target platform.
What tools can I use to validate my redirect mappings?
Several tools help validate redirect mappings before and after deployment. Screaming Frog SEO Spider can crawl your old URL list and verify each redirect returns the correct status code and destination. The curl command with the -I flag lets you check individual redirects from the command line. Httpstatus.io allows bulk checking of status codes for hundreds of URLs at once. Google Search Console reports crawl errors and redirect issues in the Coverage report. For pre-launch testing, browser developer tools Network tab shows redirect chains in real time. Ahrefs and Semrush can compare your old site crawl against the new one to identify missing redirects. Always test a representative sample including your highest-traffic pages immediately after deploying redirect rules.
What is a redirect loop and how do I fix it?
A redirect loop occurs when two or more redirects point to each other in a circular pattern, causing the browser to bounce endlessly between URLs until it displays an error. For example, if URL A redirects to URL B and URL B redirects back to URL A, the browser will attempt the redirect cycle multiple times before giving up with an ERR_TOO_MANY_REDIRECTS error. Common causes include conflicting rules in .htaccess, HTTP-to-HTTPS redirects conflicting with CMS-level redirects, and www-to-non-www rules that contradict other redirect rules. To fix loops, review all redirect sources including server config, CMS settings, CDN rules, and plugin configurations. Test each redirect individually using curl -I -L to trace the full redirect path and identify where the loop occurs.
References
Reviewed by Daniel Agrici, Founder & Lead Developer ยท Editorial policy