Hi!

Sometimes you want to know who/which site has an old link to your site and contact them to get it updated.

I would like to have an option in admin/build/path-redirect/settings that makes all redirects be logged via watchdog() when enabled. The message will include the referring URL.

I can write a patch for it, if you want me to.

Best regards.

Comments

dave reid’s picture

Version: 6.x-1.0-beta3 » 6.x-1.x-dev
Component: User interface » Code

Yes, please write a patch for the latest code.

dave reid’s picture

Note that you can do this by enabling the 'Display a warning message to users when they are redirected.' option since Drupal gets a chance to log the 404. Still debating whether to add this when redirections happen right away.

dave reid’s picture

Status: Active » Closed (won't fix)

#2 is the better option than adding a watchdog for every redirection.