Skip to main content
digtiz.

Free tool

Redirect mapper

Paste the URLs of your old and new sites or load their sitemaps. The mapper pairs them by slug, flags the pairs worth a second look, and writes the 301 rules for your server.

13 URLs
10 URLs

One URL per line, full or relative, or paste a sitemap. An optional page title after a comma improves matching. For a domain move, use full URLs on both sides.

Loaded with sample data: a fictional pool shop moving from WordPress to Next.js.

11redirects ready to export

  • 8 Strong match
  • 1 Check this
  • 2 No match, sent up a level
  • 2 Unchanged

1 pair needs a look before you export. 2 old pages have no counterpart and will go to a parent page or the homepage.

Redirects

Old URLRedirects toMatchActions
/
Unchanged
/about-us
Strong match94%
/contact-us
Strong match94%
/services/pool-installation
Strong match74%
/services/pool-renovation
Strong match73%
/2019/05/how-to-choose-a-pool-cover
Strong match94%
/2021/03/winterizing-your-pool-in-spain
Strong match75%
/product-category/pumps
Strong match95%
/product-category/pumps/variable-speed-pump-1-5hp
Strong match75%
/tag/winter
Check this56%
/?p=123
No match, sent up a level
/blog
Unchanged
/old-promo.html
No match, sent up a level

Export

For Apache and LiteSpeed hosting. Paste at the top of .htaccess on the old site, above the WordPress block. Each rule is anchored, so a short path never swallows the pages below it.

htaccess-redirects.txt
# Redirects generated 2026-11-25
# RedirectMatch anchors each path, so /blog does not also catch /blog/anything
RedirectMatch 301 ^/about-us/?$ /about
RedirectMatch 301 ^/contact-us/?$ /contact
RedirectMatch 301 ^/services/pool-installation/?$ /services/installation
RedirectMatch 301 ^/services/pool-renovation/?$ /services/renovation
RedirectMatch 301 ^/2019/05/how-to-choose-a-pool-cover/?$ /blog/choose-a-pool-cover
RedirectMatch 301 ^/2021/03/winterizing-your-pool-in-spain/?$ /blog/winterize-your-pool
RedirectMatch 301 ^/product-category/pumps/?$ /shop/pumps
RedirectMatch 301 ^/product-category/pumps/variable-speed-pump-1-5hp/?$ /shop/pumps/variable-speed-pump-1-5-hp
RedirectMatch 301 ^/tag/winter/?$ /blog/winterize-your-pool
RedirectMatch 301 ^/old-promo\.html/?$ /

# Query strings and encoded destinations use mod_rewrite
RewriteEngine On
RewriteCond %{QUERY_STRING} ^p=123$
RewriteRule ^/?$ /? [R=301,L]

Planning a migration?

We rebuild sites in WordPress and Next.js and handle the redirects, so the rankings come with you.

Get a free quote

How it works

  1. Paste or load both URL lists.

    Load a sitemap by URL or from a file. You can also paste a plain URL list or a CSV export from a crawler.

  2. Check the pairs.

    Strong matches are ready. Pairs marked "Check this" need your eye, and pages without a counterpart go to the closest parent page or the homepage. Change any target by typing a new one.

  3. Export the rules.

    Pick your server or platform and copy or download the file.

FAQ

Common
questions.

Do you have any other questions? Contact us .

Old URLs live on in Google's index, in backlinks from other sites and in people's bookmarks. Without a 301 redirect they all land on a 404 page, and the ranking those pages earned is lost.

Most WordPress hosting runs Apache or LiteSpeed, so .htaccess is the usual choice. If you prefer to manage redirects inside WordPress, use the Redirection plugin CSV. Next.js and Netlify sites have their own formats, and Nginx is for servers you manage yourself.

Google's advice is to keep them as long as possible, and generally at least a year. Pages with backlinks are worth redirecting for good.

The mapper keeps your URL lists on this page in your browser. When you load a sitemap by address, Digtiz fetches it and any sitemaps it lists.

When an old page has no clear counterpart, the mapper points it to the nearest section that still exists, such as /blog for an old blog post, or to the homepage if there is none. You can confirm that or choose a better page.