Came across your module, and I was wondering if users of your module might be able to benefit if path_redirect is installed and a broken internal link is found.
Something like this in linkchecker.admin.inc:
// Show link to redirect this broken internal link.
if (module_exists('path_redirect') && linkchecker_is_internal_url($link->url)) {
$links[] = l(t('Create redirection'), 'admin/build/path-redirect/add', array('query' => array('path' => $link->url))));
}
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 402742-path-redirect-integrate-D6-2.patch | 1.34 KB | dave reid |
Comments
Comment #1
dave reidPatch that actually works with current path_redirect 6.x-1.x-dev.
Comment #2
hass commentedDave, I dither if this makes sense... shouldn't people not better repair their broken links? The redirection could already exists if I read your patch correctly...
Comment #3
hass commentedCommitted it untested.