Seitenreport Seitenreport
Links in Magento

Fixing Broken Links in Magento

Repair the linking location and the link destination separately. In Magento, you check URL rewrites, category paths, and stored CMS links.

URL rewrites, category paths and stored CMS links

Check fixed links in CMS blocks and product texts. They are not automatically rewritten to the final destination by a new URL rewrite assignment.

Check the target’s actual effective rewrite and store-view context. Manual links in CMS blocks can keep an old path, even if product links are already newly created.

How to fix the issue in Magento

  1. Under Marketing → SEO & Search → URL Rewrites, check the current assignment. Compare these to stored links in CMS blocks and category texts. Multiple sequentially changed URL keys can otherwise leave unnecessary forwarding chains.
  2. Replace the link at its source with a relevant, reachable destination. If there is no replacement, remove the link and revise the sentence; do not redirect everything to the homepage.

Start with one affected page or template. Check its output before applying the correction to other pages.

Example of this specific finding

Illustrative control case: A guide links to /sortiment/alt/, the landing page responds with 404. The location is the guide, the error answer comes from the destination.

follow-up audit in Magento

Document source link, rewrite and final destination as a chain. After a correction, check the other affected store views with the same product.

Change the link at the location to a suitable, accessible address. After that, retrieve the same found page and follow the link that was actually issued.

How to verify that the fix worked

Open the source and destination while signed out. Also check navigation and reusable blocks if the same broken link appeared in several places.

Check internal links: Inspect links on a known source page and compare their targets with the intended content pages.

Derogations and scope

If there is no suitable replacement, removing or rephrasing can be better than redirecting to the start page.

Reference: Magento Open Source or Adobe Commerce with classic storefront. Consider store views and extensions; other storefront architectures have their own configurations.

Classify the general error

Definition, system-independent causes and further correction examples: Repair the linking location and the link destination separately

Configuration and test signal documentation

Google: crawlable internal links

Google: redirects

Related links errors in Magento