How to set an expiration date for your Dub.co links?

Learn how to use automatically expire your Dub.co links after a certain date & time.

Steven Tey

Written by Steven Tey

This feature is only available for Pro plans and above.

On Dub.co, you can set an expiration date for your links by toggling the "Link Expiration" switch in the link builder.

This opens up an input where you can type in any given time interval in natural language. For example, you can type "in 2 hours" or "tomorrow at 5PM" and Dub.co will automatically set the expiration date in the correct date-time format for you.

Alternatively, you can also set the expiration date manually by selecting the date and time from the date-time picker.

If you set an expiration date for your link, the user will see an "Expired Link" page when they try to access the link after the expiration date (example).

Expired link page

Note: All clicks to the link after the expiration date will not be tracked.

Setting a custom expiration URL

You can also set a custom expiration URL for your links. This is useful if you want to redirect users to a specific page when the link expires.

To set a custom expiration URL, simply enter a custom URL in the Expiration URL field under the Link Expiration section.

Expired link page

Alternatively, you can also set a default expiration URL for all links under a domain. This is useful if you want to redirect users to a specific page when any link under the domain expires.

Here's how you can set a default expiration URL for all links under a domain:

  1. Go to the Dub dashboard.
  2. Click on the Domains tab on the top navigation bar.
  3. Click on the button of domain that you want to set the default expiration URL for, which will open a dropdown menu.
More options popover
More options popover
  1. In the dropdown menu, click on the Edit button, which will open the Edit domain modal.
  2. Toggle the Advanced options section.
  3. Under the Default Expiration URL field, enter the URL that you want to redirect users to when any link under the domain expires.
Default expiration URL for a domain
Default expiration URL for a domain
  1. Click on the Save changes button to save the changes.

Did this answer your question?