Help article
Setting link expiry dates
Set an expiry date so links stop working automatically when your campaign or promo ends.
Set expiresAt when creating
Pick a date and time in the expiresAt field when you create a new link. The value is stored as an ISO timestamp in the database. After that moment the link stops redirecting on its own, with no manual cleanup required.
Expired links return 410 Gone
When someone hits an expired link, the server responds with 410 Gone instead of the usual 307 redirect. Visitors see a page saying the link no longer exists. Unlike a 404, this status tells crawlers the link was intentionally retired.
Midnight cron clears the data
Every day at 00:00 a background job deletes expired links along with all their click records. Stats for expired links disappear with them. If you need the numbers, export or save them before the expiry date hits.
Built for time-bound campaigns
Use this for discount promos, internal preview links, seasonal campaigns, event tickets, or RSVP forms that close on a deadline. It keeps stragglers from landing on stale offers or coupons that no longer apply.
Buffer past your end date
Set the expiry 1-3 days past the real cutoff to absorb late clickers, delayed email opens, and social posts still circulating. Cutting off at exactly midnight can hit users who genuinely intended to use the link.
Versus permanent links
Standard yhor links live forever until you delete them, which suits profiles, portfolios, and long-term references. Expiring links trade permanence for automatic cleanup. Pick the model that matches each link's purpose.