multilink_redirect_bypass
Categories
Component ID
Component name
Component type
Maintenance status
Development status
Component security advisory coverage
Component created
Component changed
Component body
This very specific module can be used to bypass automatic redirects, made by the multilink_redirect module, based on the remote IP or User-Agent string.
Use case
Consider a multilingual site with automatic machine translation using the lingotek module. Site internal hyperlinks like "/de/hallo-welt", placed in the hand written content, cannot be automatically transformed to link their corresponding translation "/en/hello-world" (or "/en/node/123"). multilink_redirect is able to detect the accidental language change, intercepts page loading and redirects the user to the appropriate page.
In our case, this process disturbs the stateless crawler, we use to index our site, by redirecting all requests to pages in a foreign language to the default language. This modules solves the problem by dynamically assigning the 'bypass multilink redirect' and 'bypass multilink redirect silent' permission, based on the remote IP or User-Agent.
Dependency
- multilink_redirect (which is part of the multilink module)
