Création automatique de liens

Auto-create generates a pretty link for each post automatically when you publish it. The post’s pretty URL becomes a short, branded shortcut to the post that you can share on social media, in emails, in print, anywhere.

Remarque : Cette fonctionnalité est disponible avec les formules « Débutant », « Marketer » et « Super Affiliate ». Si vous utilisez Pretty Links Lite, vous pouvez passez à un forfait Pretty Links supérieur pour l'utiliser.

What Auto-Create Does

When you publish (or update) a post that’s covered by your auto-create configuration:

  1. Pretty Links checks whether this post already has an auto-created pretty link.
  2. If not, it creates one — pointing back at the post’s permalink.
  3. The pretty link is assigned a slug (auto-generated by default), saved, and associated with the post.
  4. From then on, you can share the pretty URL instead of the long permalink.

The pretty link uses the same settings as your global defaults: redirect type, click tracking, nofollow, and so on. You can edit the resulting link any time to change those.

Configuring Auto-Create

Aller à Tableau de bord > Pretty Links > Options > Création automatique de liens.

Here you can configure:

The Master Toggle

Above everything else, the Enable auto-create master toggle gates the entire feature. Per-post-type rows below only fire when this is on. Switching the master off pauses auto-create across all CPTs without losing your row-level settings.

Per-Post-Type Table

Below the master toggle is a per-post-type table. Each row represents one of your site’s public post types (Posts, Pages, plus any custom post types like products, courses, recipes, etc.) and exposes three independent controls:

  • Auto-create — Whether a pretty link is provisioned when a post of this type is published;
  • Default category — A default category attached to every auto-created link for this CPT. Leave at Aucun to skip. The default category can be overridden per-link after the fact;
  • Social share — Whether the social share bar renders on this CPT. This is independent of auto-create — you can have one on without the other.

By default the table is empty (no CPT is opted in). Toggle on the rows you want.

Slug Format

Auto-created links use Pretty Links’ standard slug generator — a short, random alphanumeric string by default. The pre-fill in the post-edit meta box (see below) shows you what slug it picked, and you can edit it in place before publishing.

There is no site-wide slug template setting in v4 (this is intentional drop-in parity with v3, which retired the template fields in late minor releases). The auto-created link’s nom comes from the post title, and its description comes from the post excerpt.

Per-Post Override

Le métabox des options de publication on each post-edit screen lets you fine-tune behavior for that one post:

  • Lien automatique vers le slug — Override the auto-generated slug. Type your own slug here before saving and the auto-created link will use it instead of the random one;
  • Disable keyword replacements — Skip keyword auto-linking for this post;
  • Disable URL replacements — Skip URL auto-replacement for this post;
  • Hide social buttons — Don’t render the share bar on this post.

There is no per-post “disable auto-create” checkbox. To stop auto-create for a single post, the documented escape hatches are:

  • Manually trash the auto-created pretty link, then remove the post’s _pretty-link metadata (advanced);
  • Turn the CPT’s auto-create toggle off entirely if you don’t want it for any post of that type.

In practice, draft posts and autosaves never trigger auto-create — links are only provisioned on publié posts, so internal/private drafts don’t fill your link list.

Embedding the Auto-Link in Your Post

Utiliser le shortcode to display a post’s auto-created pretty URL inside the post content itself. The shortcode is:

[post-pretty-link]

Common patterns:

  • A “share this URL” snippet at the bottom of every blog post;
  • A “short URL” listed in your printer-friendly template;
  • An email-friendly pretty URL in your newsletter footer.

How Auto-Create Plays With Social Buttons

Le boutons de partage social feature uses each post’s pretty URL (when auto-create is enabled) as the URL being shared. That means:

  • Visitors who click “Share on Twitter” share your pretty URL, not the permalink;
  • The shared URL is shorter (better for character-limited platforms);
  • Click-throughs from social are tracked in your Pretty Links reports.

This is the synergy that makes auto-create valuable: every post gets a trackable short URL, and your share buttons use it automatically.

What if a Post Is Unpublished or Trashed?

If you trash a post, the post’s auto-created pretty link is pas automatically trashed. The pretty link continues to redirect to the post’s permalink — which now resolves to a 404 or the trashed-post page.

Vous pouvez :

  • Manually trash the pretty link if you want it gone;
  • Manually edit the pretty link to point somewhere useful (a related post, your homepage);
  • Leave it — useful if you might restore the post later.

Pretty Links doesn’t auto-trash because it doesn’t want to surprise you by silently removing trackable URLs you’ve already shared on social media or in emails.

Conseils

  • Turn on auto-create early in your content workflow. It’s much easier to have pretty URLs from day one than to retroactively create them for a backlog of 500 posts;
  • Review the default category to keep auto-created links organized;
  • Don’t enable auto-create for every post type. It adds clutter to your link list. Stick to the post types you actually share externally;
  • À associer avec Remplacements d'URL if you want post permalinks in your content to be silently replaced with the auto-created pretty URLs.
Table des matières

    Les médecins n'ont pas résolu le problème ?

    Envoyez-nous un message et un membre de notre équipe d'assistance vous contactera dans les plus brefs délais.