What is the difference between watchdog Location and watchdog Referrer in dblog messages?
An easy example to see the difference would be nice, for example on the node creation/edit they are the same.In which case these two URLs will be different?
Drupal Answers is a question and answer site for Drupal developers and administrators. It only takes a minute to sign up.Sign up to join this community
The 'Location' is the URL a user/process was visiting when the watchdog entry was invoked.
The 'Referrer' is the URL that referred the user to the 'Location' URL.
So if a person goes directly from a link on http://www.google.com to http://yoursite.com/, and visiting that URL on your site generates a watchdog record, the 'Location' will be '/', and the 'Referrer' will be 'http://www.google.com'.