A URL redirection (typically implemented through HTTP status codes like 301 or 302) leads to an invalid or non-existent destination. This can happen for various reasons, such as:
The target URL of the redirect has been deleted or moved without updating the redirect.
The redirect configuration is incorrect or pointing to a non-existent URL.
-
There's a typo or mistake in the redirect rules or settings.
How to fix?
To fix a Broken Redirect, you can follow these steps:
Identify broken redirects: Use website auditing tools or check server logs to identify URLs that are leading to broken or invalid destinations. You might also encounter Broken Redirects through manual testing or user feedback.
Update or correct the redirect configuration: Once you've identified the broken redirects, review and update the redirection rules or settings to ensure they point to valid and existing URLs. This might involve updating configuration files, .htaccess files, or redirect rules in your content management system (CMS).
Test the redirects: After updating the redirect configurations, thoroughly test each redirect to ensure they're working as expected. Access the original URLs and verify that they correctly lead to the intended destination without any errors or issues.
-
Update sitemaps and internal links: If the broken redirects were internal, ensure that any references to those URLs in your sitemaps, internal links, or navigation menus are also updated to point to the correct destinations.