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 clicking the Expiration button in the link builder. This will open a new modal called Link Expiration.

You can also quickly access the Link Expiration feature by using the keyboard shortcut E while in the link builder.

Enter the following fields to set the expiration:

  1. Date and Time: Date and time when the link will expire.
  2. Expiration URL: The URL that the user will be redirected to if the link expires.

Now click on the Add expiration button to set the expiration date and time for your link.

You can use natural language to set the date and time. 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).

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.

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 Domains settings page in your Dub dashboard.
  2. Click on the button of domain that you want to set the default expiration URL for, which will open a dropdown menu.
  1. In the dropdown menu, select the Edit Domain option, which will open the Edit Domain modal.
  2. Under the Default Expiration URL field, enter the URL that you want to redirect users to when any link under the domain expires.
  1. Click on the Save changes button to save the changes.

Did this answer your question?