Bulk 301 Redirect Generator
Paste old and new URLs to get 301 redirects for Shopify, Apache, Nginx, Next.js and Vercel, with checks for chains, loops and broken rows.
- Free, no signup
- Results in seconds
- Works for Shopify stores
4 rows. Paste a full URL or just the path, like /old-page.
- 1
- 2
- 3
- 4
4 redirects ready to install
Every row is valid
No redirect loops
No redirect chains
No duplicate old URLs
Export for your platform
shopify-redirects.csv
CSVImport in your Shopify adminRedirect from,Redirect to
/products/blue-mug,/products/blue-ceramic-mug
/collections/summer-sale,/collections/sale
/pages/about-us,/pages/about
/shop?category=mugs,/collections/mugs1 row matches a query string
Shopify's redirects are built for paths. Test these old URLs after importing, and handle any that don't redirect in your theme or an app.
How to install on Shopify
- Download the CSV above.
- In your Shopify admin, open URL redirects. The quickest way is to search for URL redirects in the admin search bar, because Shopify has moved the page between menus over time.
- Choose Import, upload shopify-redirects.csv, check the preview and confirm.
- Shopify generally only follows a redirect when nothing is live at the old URL, so delete or rename the old product, collection or page first. Then open a few old URLs to check where they land.
Why redirects decide whether a site move keeps its traffic
Every page that ranks on Google or gets quoted by ChatGPT, Perplexity or Google's AI Overviews is known by its URL. Change the URL without a redirect and that page, its links and its history start again from zero. A 301 redirect tells search engines, AI crawlers and browsers where the page went, so the trust it earned follows it.
- Rankings follow the redirect
- Google treats a permanent redirect as a strong signal that the new URL should replace the old one. Without it, old URLs return errors, drop out of results, and the links other sites gave you point at nothing.
- AI answers need links that work
- AI assistants and AI search engines link to specific pages. If the page they learned about now shows an error, they have nothing to cite and may point people to a competitor instead. Redirects keep those references alive while crawlers catch up.
- Customers keep their bookmarks
- Old links live in emails, social posts, QR codes on packaging and saved bookmarks. A redirect sends those people to the right product or service page instead of an error page that loses the sale.
- One hop is faster than three
- Chains and loops slow visitors down and waste crawler visits. Pointing every old URL straight at its final page, in a single hop, is what Google recommends and what this tool checks for.
How to use the Bulk 301 Redirect Generator
List your old and new URLs
Export old URLs from Search Console, your sitemap or your platform, and pair each with its new home. Paste full URLs or paths, or upload a CSV. Header rows and a 301, 302, 307 or 308 type column are picked up automatically.
Fix what the checks find
Rows with a problem show the reason in red and stay out of the file. Chains, loops, duplicate old URLs and query strings are flagged, and one click collapses every chain into a single hop.
Export for your platform
Choose Shopify, Apache, Nginx, Next.js or Vercel to get the right file: a Shopify CSV, .htaccess rules, an Nginx snippet, next.config.js or vercel.json, with short install steps for each.
Test, then watch Search Console
Open a sample of old URLs to confirm they land in one hop. Over the next few weeks, check the Pages report in Search Console as Google swaps the old URLs for the new ones.
Redirects on each platform, compared
The same list of old and new URLs needs a different file on every platform, and query strings are where most hand-written rules go wrong. This is what the generator writes for each one.
| Platform | Where the rules go | Query-string matching | Status codes | Watch out for |
|---|---|---|---|---|
| Shopify | URL redirects page in the admin, with CSV import | Built for paths. Test any query-string URLs after importing. | Always 301 | Generally only used when nothing is live at the old URL. |
| Apache | .htaccess file or the virtual host config | RewriteCond on %{QUERY_STRING}, matched exactly | Any 3xx | Order matters. Put redirects above your CMS rewrite rules. |
| Nginx | server block in the site config | Compare $request_uri. A location block ignores the query string. | Any 3xx | Run nginx -t before reloading. |
| Next.js | redirects() in next.config | has conditions with type query | 301 or 302 via statusCode, 307 or 308 via permanent | Takes effect after a rebuild or restart. |
| Vercel | redirects array in vercel.json | has conditions with type query | 301 to 308 | Check Vercel's limits for very long lists. |
Questions about the Bulk 301 Redirect Generator
Redirects protect traffic. New content grows it.
RankBull finds the searches you're missing and publishes pages for them, so a site move is a fresh start instead of a setback.
Exports Shopify's URL redirect CSV, ready to import in your Shopify admin.
Free AI visibility report for your site