> ## Documentation Index
> Fetch the complete documentation index at: https://docs.azvian.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Link controls

> Password, expiry date, click limit and a page to send people to afterwards

Open a link and choose **Edit**. Under **Limits and protection** you can add any of the following. All are optional.

## Stops working on

An **expiry date and time**. The time is in your company time zone (set under **Settings → Company**). After it passes, the link stops redirecting.

## Stops after this many clicks

A **click limit**. Once the link has been used that many times, it stops. Only real people count: robots (link previews, search crawlers, uptime checkers) do not use up the limit.

## After it stops, send people to

A web address to send visitors to once the link has **expired or reached its limit**, for example your current offer. Leave it empty and they see a "This link has expired" page instead.

> [!NOTE]
>
> The "send people to" page is used for **expired** links. A link you **switched off** or **archived** shows a "This link is not available" page, and a deleted or unknown address shows "We couldn't find that link" (or goes to your own page, see [Link settings](https://docs.azvian.com/link-manager/link-settings.md)).

## Password

Type a **Password** (at least 4 characters). Visitors then see a page, "This link is protected", and must enter it before they are sent on. Once it is entered, that browser is not asked again for the rest of its browsing session.

* To change it, type a new one under **Change the password**.
* To take it off, tick **Remove the password**.
* Guessing is limited: after 8 wrong tries from the same connection a visitor must wait a minute.
* The password is stored scrambled, so you cannot see it afterwards; set a new one if you forget.

A password protects the **link**, not the destination page: anyone who knows the destination address can still open it directly.

## Redirect type

Normally the default from [Link settings](https://docs.azvian.com/link-manager/link-settings.md) is used. Pick **302**, **307** or **301** here to override it for one link.

| Type | Use it when |
| - | - |
| **302 Temporary** | Almost always. Every click reaches your server, so every click is counted. |
| **307 Temporary** | Like 302, and it keeps the original request method. |
| **301 Permanent** | You want browsers and search engines to remember the move. Browsers may then skip your server, so **some clicks go uncounted**. |

## Switched on

When editing, the **Switched on** box does the same as **Switch off** on the link's page.

## What visitors see

| Situation | What happens |
| - | - |
| Working link | Straight to the destination |
| Password link | "This link is protected" page, then the destination |
| Expired or over its limit | The "send people to" page if you set one, otherwise "This link has expired" |
| Switched off or archived | "This link is not available" |
| Unknown address | "We couldn't find that link", or your own page |

All of these pages ask search engines not to list them.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.