As the title suggests, I would like to add the ability to override the default "Delete redirects that have not been accessed for X" setting on the module config page.

To put my use case simply, I have some redirects that I'm using for the usual purpose: to forward old URLs to their associated page's new location. I'd like these to expire after a reasonable period. But I also have some "dummy" URLs that act as landing pages for QR codes, and from there I 307 forward them to the page of my choice and I can change the location and/or passed URL parameters as needed. I'd like those redirects to remain indefinitely, even if they're not used for a very long time.

Comments

pere orga’s picture

Issue summary: View changes
Status: Active » Closed (works as designed)

Adding a field for each redirect would be too much bloat. What I would do here is to create a custom cron implementation that expires the redirects that match your criteria.