How long should you keep redirects active after a migration?

we migrated a client site 18 months ago and the .htaccess file has 2,000 redirect rules. The server is noticeably slower because of it. At what point is it safe to remove old redirects?

Google’s official guidance is to keep redirects indefinitely. In practice, I recommend a minimum of one year, ideally two. After two years the vast majority of search equity has been transferred.

Before removing any redirect, check two things:

  1. Does the old URL still get traffic? (Check server logs, not just analytics)
  2. Does the old URL have backlinks from external sites? (Check Ahrefs/Semrush)

If a redirect still receives traffic or has live backlinks, keep it. Remove only the ones with zero activity.

For the performance issue, move the redirects from .htaccess to server config (httpd.conf or nginx config). Server config is parsed once at startup, .htaccess is parsed on every request.

2,000 rules in .htaccess is your performance problem right there. Apache reads .htaccess on every single request and evaluates every rule. Move them to the vhost config file and the performance hit disappears.

Or better yet, switch to nginx where rewrites are compiled into the config and there is no per-request overhead.

The .htaccess to server config move is the fix. Did not realize that was the bottleneck. @jess_seo the backlink check makes sense - some of those old URLs might still have value even after 18 months.

the structured content model in Contentful is better for this use case. Separate the content from the presentation layer and you can reuse it anywhere.

The content model is the foundation. If you get that wrong, every other decision becomes harder.