Internal links to redirected pages: menus and buttons still aimed at old addresses
Last reviewed
Your links work, but they take the long way round.
An internal link to a redirected page is a link on one of your own pages, in a menu, footer, button or paragraph, that still uses an address which now forwards somewhere else: an old page name, an http:// address, or the hostname form you dropped. The link works because the redirect catches it, but every click takes an extra trip, and search engines keep being shown an address you have retired. Google's site move guidance asks for internal links to be switched to the new addresses. The fix is editing those links where they are stored: the menu editor, the page builder, or a careful database search and replace.
Why internal links that pass through redirects costs you customers
These are the links you control completely, which makes them the cheapest redirects to remove. Menus and footers repeat across the whole site, so a single stale address there adds a detour to every visit that uses it. Linking to the retired form also keeps telling search engines that the old address matters, which is the opposite of what the redirect was put in place to say. Nothing is broken and people still arrive, so this is low urgency. It earns its place after any move, though, because outdated links are also how redirect chains get longer when pages change again.
What usually causes internal links that pass through redirects
- The move to https left hand-typed links in pages and menus still beginning with http://
- The domain switched to or from www, and custom menu links kept the earlier form
- Pages were renamed in a redesign; redirects were added, but the buttons and links within paragraphs aimed at the old names stayed as they were
- A page builder stores link addresses inside its own layout data, which an ordinary find and replace on post text never reaches
- Footer widgets, header buttons and theme options hold their own copies of addresses, outside the pages themselves
- Content pasted in from an older version of the site carried that version's full addresses with it
How to check for internal links that pass through redirects yourself
- On a desktop computer, rest the pointer on each main menu and footer item. Most browsers print the link address in a lower corner of the window. Note any that start with http://, use the hostname form you no longer use, or name an old page.
- Click those links and compare the hovered address with what the address bar shows after loading. If they differ, that link travels through a redirect.
- Display the raw code of an important page through the browser's View page source option, and look through it for http:// plus your domain, and for your domain in its retired form. Each hit inside an href is a link to update.
- Do not stop at the menu. Booking, quote and contact buttons inside page layouts are usually set once at launch and rarely looked at again.
How to fix internal links that pass through redirects
- Take a full backup of files and database before any bulk change, and confirm your host can restore it. The bulk methods below rewrite stored content directly.
- On a classic WordPress theme, open Appearance, then Menus. Custom links, which hold an address someone typed, are the usual suspects. Replace an outdated one by adding the real page from the Pages pane, expand the old item with the arrow on its right and choose Remove, then press Save Menu. Block themes manage menus through the Navigation block instead.
- For links inside posts and pages, a search and replace plugin such as Better Search Replace (it appears under Tools once installed) can swap an old address for the new one. Its dry run reports how many fields would change before anything is written, and its own FAQ advises a database backup first, because a wrong search string can damage the database.
- WordPress's migration guide warns that replacing addresses across the whole database can break serialized data (settings stored in a packed format that records each value's length). It suggests limiting the replacement to the posts table, or using the WP-CLI search-replace command with the guid column skipped. Let your web person pick the method.
- Elementor asks you to run its own Replace URL step after an address change, including a move to https: in Elementor's Tools, open the Replace URL tab, enter the old and new address, run it, then use Clear Files & Data on the General tab and save. Other page builders may need each button edited by hand.
- On hosted site builders, edit menu items in the navigation settings and update buttons in the page editor one at a time, then repeat the hover test and add "update internal links" to the checklist for the next rename or move.
How Prsona catches internal links that pass through redirects
Prsona reads the links in the pages it checks and reports any that lead to an address which then redirects, so you know which ones to aim straight at the destination.
Prsona looks for internal links that pass through redirects as part of an AI search and SEO audit and technical SEO monitoring and broken link monitoring.
Spot the links on your own pages that still detour through a redirect.
Questions about internal links that pass through redirects
Do internal links to redirects hurt SEO?
Only a little on their own, because the redirect still passes visitors and crawlers along. The cost is a slower click and a muddier signal about which address you consider current. Google's site move guidance asks for internal links to use the new addresses, and doing so keeps the site tidy.
Can I leave the redirects in place instead of changing links?
Keep the redirects and update the links too. Redirects exist for people and other websites linking to you from outside, which you cannot edit. Your own links you can correct, and that removes the detour for your own visitors.