Use a redirect when visitors who request an old WordPress URL should end up at a different one. Use a canonical tag when two URLs need to stay accessible but you want search engines to treat one as the preferred version. A redirect changes where the browser lands. A canonical tag does not, and search engines can choose a different canonical if your other signals disagree.
Say you rename /spring-hours/ to /opening-hours/. Redirect the old address if the new page replaces it. But if /opening-hours/?utm_source=newsletter displays the same page and needs to work for campaign tracking, let it load and point its canonical to /opening-hours/. A canonical tag is not a forwarding address.
Decide what should happen to the original URL
- The page moved permanently: Use a permanent redirect, usually a
301for an ordinary WordPress page. Send the old URL straight to its closest live replacement. - The move is temporary: Use a temporary redirect, such as
302, if you expect the original URL to serve the page again. Don’t use a permanent rule just because it’s the plugin’s default. - Both URLs must work and show the same or nearly the same content: Keep both accessible and point the duplicate’s canonical to the preferred version. Give the preferred page a self-referencing canonical.
- The pages answer different questions: Keep them separate. Two service pages can share a layout and still deserve their own URLs. Likewise, don’t canonicalize every page of an archive to page one just because they share a heading.
- The page is gone and has no suitable replacement: A
404or410can be the right outcome. Redirecting everything to the homepage saves typing, not the visitor’s trip.
Redirects and canonicals can work together. The retired URL can return a 301, while the destination returns 200 OK and names itself as canonical. The mistake is leaving live duplicates pointing to the retired address, forcing search engines to follow a redirect just to find your preference.
Set up a redirect for a moved WordPress page
- Open the new URL first. In a logged-out browser, confirm it loads the expected public page, not a preview, login screen, or another redirect. Copy the final URL, including the correct domain, protocol, and trailing slash if used.
- Check whether the old URL already redirects. WordPress can handle some old slugs and URL variants on its own. Plugins, hosts, and CDNs can also issue redirects. If the old URL already goes directly to the right destination with the status you want, don’t add a second rule.
- Add an exact-path rule in one place. Open your redirect plugin’s rules screen or your host’s redirect panel. Menu labels vary. Enter the old path as the source and the final URL as the destination, select
301for a permanent move, and save. Avoid a wildcard or regular expression for a single page. Check how your tool handles query strings if the old URL appears in tracked links. - Update links you control. Change navigation, buttons, and links inside other posts to point straight to the new address. Check that any XML sitemap entry lists the destination, not the retired URL.
For a single-page move, don’t change the site-wide permalink structure or the addresses under Settings → General. Those controls affect far more than one slug. Before editing an existing redirect rule, record its source, destination, status, and matching options so you can put it back if needed.
Set a canonical when a duplicate URL must stay live
A canonical tag is an HTML link element in the page’s head, marked with rel="canonical". WordPress core can output canonicals for individual posts and pages, and SEO plugins may manage that output instead. Check what the public page already publishes before adding anything.

- Choose the URL you want indexed. Open it logged out. It should respond with
200 OK, be accessible to crawlers, and not carry anoindexdirective. Use its full final URL, not an address that redirects. - Inspect both versions. Use your browser’s View Page Source command and search for
rel="canonical". Check the URL in the tag’shref. If a tracking variant already names the clean URL, you may have nothing to change. - Override the default only where necessary. For a separately editable duplicate, open it in Pages → All Pages or Posts → All Posts. Look for a canonical URL field in your SEO plugin’s page settings, often under an advanced section. Enter the preferred URL and update the duplicate. A parameter variant may not have its own editor screen; if its output is wrong, check the settings or documentation for the component that generates it.
- Keep the rest of the site consistent. The preferred page should name itself as canonical. Link to it in normal navigation and list it in the sitemap if it belongs there. Save tracked URLs for the campaigns that need them.
Don’t strip every query parameter on principle. A tracking parameter can leave the page unchanged, while a filter can produce a meaningfully different product listing. Compare what the URLs actually show before asking search engines to treat them as duplicates.
Verify the response before troubleshooting search results
Open browser developer tools, select Network, enable Preserve log, and load the URL in a logged-out window. Look at the document requests, not the images or scripts. For a permanent move, expect the old URL to return 301 with a Location header pointing to the destination, followed by a 200 for that destination. For a live duplicate, expect the duplicate itself to return 200 and its page source to name the preferred URL.
The old URL still loads, or it bounces between addresses
If it returns 200, check whether the rule matches the request’s path, trailing slash, and query string. If you see a chain or loop, read the first Location header and follow the sequence. An old redirect plugin rule may send requests to a URL that the host redirects back. Fix the conflicting rule at the layer that owns it rather than stacking another rule on top. After saving, purge the affected URLs from any page or CDN cache you control and retest in a fresh private session.
The page source shows two different canonicals
Check for overlap between an SEO plugin, the theme, and custom code. If the HTML looks right but the signals still seem inconsistent, also inspect the document response headers for a Link header with rel="canonical". Identify the extra source and correct it there, preferably on staging first if it requires a code change. Adding a third declaration will not break the tie.
Google still shows the old URL or selects a different canonical
Use Google Search Console’s URL Inspection to check the indexed information, including the last crawl and, when available, the user-declared and Google-selected canonicals. Compare that report with what the live URL serves now. If the report predates your change, it may not reflect the current setup. If the mismatch persists after a newer crawl, check the preferred page’s indexability, sitemap entry, and internal links, and make sure the two pages are similar enough to justify the canonical. A live test can confirm what Google can fetch now; it doesn’t tell you which canonical Google will ultimately select.