I'm using the Delete redirects that have not been accessed for 1 Year feature of Redirect.

Recently, this module started deleting newly created redirects on cron run. Here is the log message:

Log Message

Not sure why this is happening. Could it be because the feature only checks for redirect count but not redirect creation date?

CommentFileSizeAuthor
Screen Shot 2013-06-21 at 1.10.59 PM.png42.92 KBphilbar

Comments

philbar’s picture

Priority: Normal » Major

The problem appear to be line 864-865 of redirect.module

$query->condition('access', REQUEST_TIME - $interval, '<');
$query->addTag('redirect_purge');

As I suspected, there is no criteria for redirects that were recently created, but never accessed. I don't even know if redirects store the date created data.

pere orga’s picture

Issue summary: View changes
Status: Active » Closed (duplicate)

Even if the effect is the opposite, I'm pretty sure this is the same issue than #1396446: Redirects deleted too early