Everyday workflowsLesson 8 of 23 · 7 steps

Fix broken links and add redirects

Find an old URL, choose a destination, and test the redirect.

Before you start

  • A verified connection to a practice site.
  • Administrator access.
  • Redirect Manager enabled; write tools enabled only when needed.

Let’s do this, step by step.

Step 01

Find the broken destination

Inspect the broken-link report and the Redirects screen's suggestions.

Suggestions do not create redirects automatically. Start with a URL that really should move, and check whether the report covered the whole site.

Step 02

Choose the correct target

Select a real replacement page and confirm the source path is no longer intended to display its own content.

A redirect can hide a working page if its source is still in use. Check the warning and the actual page before saving.

Step 03

Add the redirect

In EMCP Tools → Redirects, enter the source and destination. Choose 301 for a permanent move or 302 for a temporary one.

Use the redirect type that matches the change. Choose either a target URL or a target post, not both.

Step 04

Test both addresses

Visit the old address and confirm it reaches the intended target without a loop. Update internal links to point directly to the target.

A redirect repairs the old route, but new links should use the current address. Check the destination and any query-string behavior you configured.

Step 05

Inspect history

Read the saved redirect and its History entry. Disable or correct it if the result is wrong.

Keep the original route and intended destination in your notes so another editor can understand the change.

Step 06

Use the Redirects form and query rules

Open Safety → Redirects. Enter From, choose a destination in To, select 301 Permanent or 302 Temporary, then Add redirect. For an exact query rule, untick Match regardless of query string before saving and include the query in From.

The default matches the old path regardless of its query string. To match one specific query, untick that option first. Test both the matching address and an address that should stay unchanged.

Step 07

Sites using the Redirection plugin

If the site runs the Redirection plugin, read its 404 log and existing redirects with redirection-read. Create an exact URL redirect with redirection-write in a WordPress-module group, and pass the version from get-redirect to later edits.

Some sites already use the Redirection plugin. Work in that plugin instead of adding a second redirect system, and keep each redirect exact and in a group WordPress handles.

You’re done when…

The old URL reaches the correct page and internal links use the current destination.

Keep the reference handy.

The docs cover tool details and requirements for this lesson.

Your EMCP guide

Answers from our docs

YOUR CHAT, YOUR CHOICE

Before we chat

MSR Builds processes your question and up to four recent messages on our server to answer from the EMCP docs. AI is optional and needs your separate permission.

The chat is kept in this page's memory, not saved as a conversation in our database or browser storage. Our hosting and security services process connection information, such as your IP address, to prevent abuse.

Cloudflare Turnstile checks your browser and connection to prevent automated abuse when you send a question. No login is required.

Please leave out personal, sensitive or confidential information, passwords and API keys.

You can withdraw consent and clear this page's chat at any time. This cannot undo a request already sent or erase provider/security records.

Chat privacy, retention & your rights ↗ · Privacy contact

Starting chat consents to this processing. You can browse our docs without using the chat.