Skip to content
24/7 support · 7-day money-back guarantee · Free plan, no card neededSee plans

Blog › WordPress SEO ›

How to set up redirects in WordPress

When you change or delete a page address, a redirect sends visitors and search engines to the new location.

Ways to add redirects

  • A redirect plugin or your SEO plugin: the easiest option for most people.
  • Server rules: adding rules to .htaccess on Apache or the server config on Nginx. Faster, but a mistake can break your site.
  • Your host’s control panel: many hosts include a redirect tool.

What to redirect

  • Pages whose slugs you changed.
  • Deleted pages that have a close replacement.
  • Old versions of your domain, such as http to https and non-www to www.

Rules to follow

  • Use 301 for permanent moves.
  • Redirect to the most relevant page, not always the home page.
  • Avoid chains and loops.
  • Update internal links to the final destination.

Monitor 404s

Use a 404 monitor to find addresses people still request. Then run the broken link checker on important pages and fix links so they point directly to live pages.

Key takeaways

  • Use 301 for permanent changes.
  • Redirect to the most relevant new page.
  • Monitor 404s for addresses people still request.

Keep reading

Comments

Leave a comment

Check your own site

Run a free audit and see what to fix first.

Run a free audit