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

# How to resolve a slug conflict in ShortPen

> Fix slug conflicts in ShortPen by renaming the slug, switching domains, or editing existing links to avoid duplicate URLs.

**Short answer:** A slug conflict happens when another link already uses the same **domain + slug** combination. Fix it by **renaming the slug**, **choosing a different domain**, or **editing/removing the existing link** (if it’s yours).

## What is a slug conflict in ShortPen?

In ShortPen, a link is composed of a **domain** and a **slug** (e.g., `brand.co/product` where `brand.co` is the domain and `product` is the slug).

Two links **cannot share the same domain+slug pair**, so you’ll see **“slug already in use”** if that combination already exists.

<Info>
  **See** "[What is a link in ShortPen?](/key-concepts/links-overview)" for the full breakdown of link components.
</Info>

### How to Resolve a Slug Conflict

* [Rename the slug](/link-management/links/link-editing) → choose a unique and readable variation (e.g., `product-spring-2026`, `product-it`, `product-aug`). QR codes remain valid unless you change the main slug.
* **Switch to another** [domain](/key-concepts/domains-overview) → keep the slug as-is but assign it to a different verified domain you own, useful for print or brand consistency.
* **Update or remove the existing link (if it’s yours)** → find the conflicting link in your library and edit its slug, delete it, or organize it with folders/tags using [bulk actions](/link-management/manage-links-at-scale/bulk-actions) when needed.

## FAQ

<AccordionGroup>
  <Accordion title="Will I lose analytics if I rename the slug">
    Changing slug/domain creates a new public link **and the previous link stops working**. If the link used `shr.pn`, the old slug becomes available again. **Historical analytics stay on the link object.**
  </Accordion>

  <Accordion title="Can I just change the destination instead">
    Yes. Changing the destination keeps analytics and QR intact. It does not fix a slug conflict.
  </Accordion>
</AccordionGroup>

## Related links

* [What Is a link in ShortPen?](/key-concepts/links-overview)
* [Components of a ShortPen Link](/link-management/links/link-components)
* [How to edit an existing Link in ShortPen](/link-management/links/link-editing)
* [How Custom Domains work in ShortPen](/key-concepts/domains-overview)
