What this solution does
The Redirects module is designed for creating and managing manual and automatic redirects (codes 301, 302, 307, 308), as well as for monitoring 404 errors on 1C-Bitrix sites.
When the site structure changes, products are renamed, or sections are moved, old links often remain in search results, advertising campaigns, user bookmarks, and on external resources. If these addresses return a 404 error, the site loses visitors because the links no longer lead to active pages.
The module automatically preserves old URLs when element and section addresses in information blocks change. It allows for the configuration of manual redirect rules, tracks 404 errors, and validates rules to prevent chains and loops.
Automatic Redirects
The module monitors URL changes for elements and sections in information blocks. When a section address change affects nested sections and elements, the system recalculates the new addresses and automatically creates the necessary redirects.
For example, if a product address changes from /catalog/iphone-15/ to /catalog/apple-iphone-15/, the old URL is preserved, and the module automatically sets up a redirect to the new page.
The module ensures automatic redirection of users and search engine crawlers from old URLs to current pages, preventing 404 errors when addresses change.
Manual redirect rules can be created for individual pages or groups of URLs. The system supports exact URL matches, regular expressions, internal and external links, and GET parameters. Supported response codes include 301, 302, 307, and 308. The tool allows moving site sections or restructuring URLs without creating a separate rule for every nested address.
The system maintains a history of all previous URL versions for tracked elements and sections. When a URL changes multiple times (e.g., /catalog/phone/ → /catalog/smartphone/ → /catalog/apple-iphone/), the module preserves all intermediate paths and automatically redirects them to the current active address. Even after a series of changes, all previously existing URLs continue to lead correctly to the target page.
The module monitors redirect chains and loops that may occur during sequential page changes. By analyzing related rules, it directs old URLs immediately to the final address, eliminating unnecessary intermediate hops (e.g., /page-1/ → /page-2/ → /page-3/ becomes a direct redirect to /page-3/).
When creating or editing rules, the module automatically checks them for cyclic redirects to prevent pages from redirecting each other.
404 Error Monitoring tracks requests to non-existent pages and displays the URL, number of hits, dates of the first and last access, and the referral source. Analyzing hit frequency helps identify the most popular broken links that require priority correction. A redirect to an active page can be created directly from a 404 error record.
Transition Statistics show which redirects continue to receive traffic. This helps locate popular old URLs and distinguish them from rules that are no longer used.
Import and Export functionality supports handling large volumes of data via XLSX files. Before applying an import, the module displays a preview report indicating which rules will be added, which will be updated, and which will be skipped due to errors. Existing rules can be exported to a spreadsheet, edited, and re-imported. This feature is convenient during site migration or when implementing a large list of redirects after an SEO audit.
Redirect Diagnostics.
Diagnostic mode helps identify why a specific URL is redirected and which rule is triggered. The module displays the matched rule, the reason for its activation, the final URL, the HTTP status code, and the chain of related redirects. In diagnostic mode, no actual redirect is performed for the administrator, and the check does not increase statistics or generate false 404 entries.
The module includes ready-made templates for common tasks: HTTP to HTTPS redirection, removing the www prefix, stripping index.php and .html extensions, adding a trailing slash, and moving sections while changing URL structure. You can insert a suitable template into the redirect creation form and modify it to match your site's architecture.
General iT can connect “Redirects: automatic and manual 301, 302, 404 error monitoring”, install and configure the module, and make sure the integration works correctly.