Short links fail in boring ways. Nobody hacks them. Somebody replaces a file, reuses a path, picks the wrong status, or goes looking for click numbers in a file that never recorded any. Each mistake below comes from how redirect rules actually work, and each has a fix that takes minutes once you know which one you made.

The examples use the free Link Shortener on Ovatly. It generates redirect rules for your own domain (Cloudflare or Netlify _redirects, Apache .htaccess, or Nginx rewrite rules) rather than hosting the links for you. That design is exactly why these mistakes matter: the file is yours, so its upkeep is yours too.

Contents

  • Quick answer
  • The healthy baseline: one correct rule
  • Mistake 1: replacing the file instead of adding lines
  • Mistake 2: one path, two destinations
  • Mistake 3: a temporary status on a permanent link
  • Mistake 4: expecting click statistics from the file
  • Mistake 5: sharing the link before the file is live
  • How to add a short link safely, step by step
  • Limitations and honest tradeoffs
  • FAQs
  • Conclusion
  • References

Quick answer

Broken short links usually trace back to five mistakes. One is replacing the redirect file instead of adding lines to it. Another is giving one short path two destinations. A third is leaving a permanent link on a temporary 302 status. A fourth is expecting the redirect file to count clicks when it counts nothing. The fifth is sharing the link before the file is live on your hosting. Keep one correct rule as your baseline, add lines rather than files, and count visits to the short path in your hosting or analytics.

The healthy baseline: one correct rule

Every fix below is measured against one rule that is set up properly. In the Link Shortener, a row with the short path /guide, the destination https://example.com/long-guide and the status 301 produces this line in the _redirects file:

/guide https://example.com/long-guide 301

One path, one destination, a permanent status for a permanent link, sitting in a file that is live on the hosting. Each mistake is a way of drifting from that baseline.

Mistake 1: replacing the file instead of adding lines

Your host may already have a _redirects or .htaccess file carrying every rule you have ever made. If a newly generated file replaces it, the new rule works and every older rule dies at the same moment. That is why this mistake announces itself as all your short links breaking at once. The generated block is meant to be added. Open the existing file and append the new lines to it, so the old rules and the new ones live side by side.

Mistake 2: one path, two destinations

A short path is an address, and an address can only send visitors to one place. Two rows that both claim /guide but name different destinations cannot both be honoured. One of them will silently win, or the behaviour will depend on the server. The generator flags a duplicated path before the file is written. The reverse arrangement is fine and common: two different paths, one for print and one for social, can both point at the same destination.

Status 302 marks a link as seasonal or experimental, something you will change or remove. Status 301 marks it permanent and tells search engines the move is permanent, with ranking signals transferring to the destination. Leaving a keep-forever link on 302 does not break it for visitors. That is why the mistake survives unnoticed: the link works, and only the search signal is weaker than it should be. Audit your permanent links and move them to 301.

Mistake 4: expecting click statistics from the file

A redirect file is a list of instructions, not a logging system. It records nothing, so there are no click statistics to find in it. A short link can look untracked simply because nobody set up the counting where counting actually happens. Your hosting or analytics platform sees each visit to the short path, so read the numbers there, for example as page views of /guide. Decide that before the campaign launches, not after it ends.

Nothing about a generated rule works until the file is placed on your hosting. The link you paste into a post or print on a card resolves only once the file is live. Sharing first means the earliest visitors, often the most valuable ones, meet an error. The order is always: generate, place the file, test the short path in your browser, then share.

  1. Open the Link Shortener and, optionally, type your domain to preview how the short link will look.
  2. Add one row: a short path that is not already used, the full destination, and 301 for a permanent link or 302 for a temporary one.
  3. Choose the format that matches your hosting, then copy or download the generated block.
  4. Add the new lines to the existing file on your site rather than replacing it. Then test the short path in your browser before sharing it anywhere.

Limitations and honest tradeoffs

This tool hosts nothing: no database, no account and no click tracking of its own. That is the tradeoff for control. A hosted shortener would keep the file and the statistics for you, and in exchange your links would depend on that service staying alive. On your own domain, the upkeep described in this guide is the price, and it is a small one. One file, added to rather than replaced, with statuses chosen on purpose.

FAQs

Why did all my short links stop working at the same time? The usual cause is a replaced file. If a new _redirects or .htaccess file overwrote the old one, the new lines were not added to it. Every rule that was only in the old file then stopped working at once. Restore the missing lines and add new rules to the file from then on.

Can two short paths point to the same destination? Yes, that is common: a short one for print and a descriptive one for social. The reverse is blocked. One short path can only have one destination. The generator flags a duplicate path, so the conflict is caught before the file goes live.

Where do I see how many clicks a short link received? Not in the redirect file, which records nothing. Your hosting or analytics platform sees each visit to the short path, so count them there, for example as page views of /guide.

I shared the short link and it does not work. What went wrong? Most likely the generated file is not live yet. No short link works until the file is placed on your hosting as its header instructs. Put the file in place, then test the short path in your browser before sharing it again.

Should a permanent short link use 301 or 302? Use 301. It tells search engines the move is permanent and ranking signals transfer to the destination. Keep 302 for seasonal or experimental links you will change or remove.

Conclusion

Short links break from handling, not from malice. A file is replaced instead of extended. A path is claimed twice. A status undersells a permanent link. Statistics are expected from a file that keeps none. A link is shared before its rule went live. Keep the baseline rule in mind, add lines instead of files, and let the Link Shortener flag the conflicts it can see. For the ranking side of the same question, read our comparison of short links vs full links. For more guides in this series, see our URL and Link Tools guides.

References