Closed (won't fix)
Project:
Path redirect
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
1 Jun 2009 at 11:57 UTC
Updated:
10 Aug 2010 at 04:34 UTC
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
Comment #1
dave reidYes, please write a patch for the latest code.
Comment #2
dave reidNote 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.
Comment #3
dave reid#2 is the better option than adding a watchdog for every redirection.