Pick a common rule or paste a list of old and new URLs, choose your server, and copy the ready-to-use code.
Choose a common rule like force HTTPS or www to non-www, or switch to bulk and paste a list of old and new URLs from your redirect map.
Enter your domain or the URL pairs, pick Apache or Nginx and the status code, and the ready-to-use code appears live below with a plain-English note.
Copy the snippet into your .htaccess file or Nginx config, upload it, then test a single URL before you rely on the rest.
A redirect quietly sends a visitor from one address to another, and on an Apache server the usual place to set that up is the .htaccess file in your site root. It is one of the most important pieces of technical SEO, because it decides how link equity and rankings carry across when a URL changes. A redirect generator writes the rule for you in the right syntax, which matters, since a small mistake in an .htaccess file can take a whole site offline.
The choice between a 301 and a 302 is the part people get wrong. A 301 is permanent, so Google passes the old page's authority to the new URL and drops the old address from its index over time, which is what you want for a move or a rename. A 302 is temporary, telling search engines the change is short-lived, so the old URL stays indexed. Reach for a 301 for almost everything, and keep a 302 for the rare case where you truly plan to restore the original address.
Beyond single pages, a few rules solve the most common SEO housekeeping. Forcing HTTPS secures every visit, and settling on a single www or non-www version stops search engines seeing two copies of the same site. This tool builds all of those, plus a full domain move and bulk redirects from a URL list, for Apache and Nginx alike. Everything runs in your browser, so your URL map never leaves the page. Build your rule here, then check a page with the website speed checker, tidy a slug with the URL slug generator, or explore all the free SEO tools.
Pick the status code that matches what you actually mean.
The old URL is gone for good. Search engines pass its ranking to the new URL and drop the old one. Use it for migrations, renames and www or HTTPS fixes.
The old URL is coming back, so it stays in the index and keeps its signals. Use it only for genuine short-term changes like maintenance or an A/B test.
A rule that points a URL at itself, or two rules with the same source, breaks things. This tool flags a self-redirect or a duplicate source as you build.
A broken .htaccess can 500 your whole site. Add one redirect, load that URL, confirm it works, then paste the rest. Keep a backup of the original file.
Point old pages straight at the final HTTPS, non-www address. Chaining one redirect into another wastes crawl budget and leaks a little authority at each hop.
Before a redesign, export every old URL and match it to its new home, then bulk-generate the redirects. A complete map is what protects your rankings through a move.
This free redirect generator writes correct 301 and 302 rules the moment you fill in the fields, for common jobs like HTTPS and www, a full domain move, or a bulk list of old and new URLs, in Apache or Nginx form. There is no sign-up, no upload and no limit.
Redirects are where a lot of SEO is quietly won or lost. Over 17+ years across 500+ projects I have run site migrations where a clean redirect map kept every ranking intact, and fixed launches where a missing HTTPS rule or a redirect chain had bled away traffic for months. Getting the syntax right the first time, and testing one rule before trusting the rest, is the whole game.
It runs entirely in your browser, so your URL map never leaves the page. Build your redirects here, then confirm speed with the website speed checker, or explore all the free SEO tools.
An htaccess redirect is a rule you place in the .htaccess file on an Apache web server that automatically sends a visitor from one address to another. It is the standard way to force HTTPS, tidy up www versus non-www, or point an old page at its new home after a redesign. This generator writes the exact rule for you so you do not have to remember the syntax.
Yes. The code is generated entirely in your browser and nothing is uploaded to a server. Your domain names and URL lists stay on your own machine, and the tool keeps working even with no internet once the page has loaded.
A 301 is permanent. Search engines pass the old page's ranking signals to the new URL and eventually drop the old one from the index, so it is the right choice for a move or a rename. A 302 is temporary. The old URL stays indexed because you plan to bring it back, so use it only when you truly mean back soon.
For Apache, copy the code and paste it into the .htaccess file in the root folder of your site, usually alongside your home page. If there is no such file you can create one. Always change a single URL first and confirm it redirects correctly before you trust the whole set, since a bad rule can take a site down.
Yes. Switch the server to Nginx and the same intent is written as a server or location block using return 301 instead of a rewrite. Nginx rules go in your site's server configuration rather than an .htaccess file, so add them there and reload the server.
The most common jobs are forcing every visitor onto HTTPS, settling on one of www or non-www to avoid duplicate content, moving a whole site to a new domain, and pointing hundreds of old URLs at their new locations during a migration so no link or ranking is lost.
This free tool formats your text. If you would rather have your content written or rewritten to read clearly and rank, here are a few honest reasons businesses hire me as their SEO and content consultant in India.
The right length and the right keywords are not opposites. I write content that covers a topic fully and targets the right terms, so it is easy for people to read and easy for Google and AI to understand.
I started as a technical SEO trainee, not in a management seat, and I still write and edit the content myself. You get direct expertise, not a brief handed off to a junior writer.
The redirect generator you just used, I built it, along with the other free SEO tools on this site. It is a direct look at how I think about clear content before you ever become a client.
AI drafts read stiff and generic. I edit content so it reads naturally at the right level, the kind of clear, human writing that keeps readers engaged and gets quoted in AI answers.
Messages get a reply within 24 hours on business days, and WhatsApp is the fastest way to reach me for anything urgent. You are not waiting in a support queue.
Content length is one piece. Keyword research, on-page SEO and technical health all sit with one person who understands how they connect, so clear writing also becomes ranking writing.
"Chirag rewrote our blog to read at a grade 8 level without dumbing it down. Time on page went up, bounce rate dropped and rankings followed. He makes complex topics simple."
"Our content was dense and technical and nobody finished reading it. Chirag simplified everything and our engagement metrics transformed. His 17+ years of experience really shows."
"We used Chirag's free tools, then had him edit our whole site. Clear, engaging copy that actually converts. Practical, no fluff, real value."
Featured on leading media platforms. Watch interviews, expert commentary and digital marketing insights covered by top news channels and podcasts.
CMD Club Meet 2025 at Club Capri, Gurgaon : A Brief of ClipsTrust
YouTube · Business Meet
How to Build Customer 🔥Trust 🔥 - Biggest Challenges Today
Eventra vlogs
Digital Marketing Beginner to Advanced Journey | Podcast b/w Chirag Arora & Pankaj
YouTube · Podcast Episode