mediakreativ/craft-slugsmith

Advanced Slug Control for Craft CMS. Refresh & Customize Your Slugs.

1.0.0 2025-07-28 22:14 UTC

This package is auto-updated.

Last update: 2025-08-30 07:08:29 UTC


README

Slugsmith brings advanced slug control to Craft CMS.
Take full control of your slugs with one-click refresh, custom rules, and site-specific settings.

Looking for a way to transliterate your titles into clean, URL-friendly slugs - like turning ¡Fútbol, cañas y tapas! into futbol-canas-y-tapas, or Rødgrød med fløde into rodgrod-med-flode?

No need to look any further.

Just add this line to your config/general.php:

->limitAutoSlugsToAscii(true)

That's it. You don't need this plugin for that.

But if you want more - like refresh buttons, per-site custom replacement rules, per-site transliteration control, or automatic hashtag conversion - Slugsmith is here to help.

Key Features

  • Slug Refresh Button
    Regenerate slugs based on the current title with a single click - directly in the entry editor.

  • Per-Site Custom Slug Rules
    Define your own replacement rules to handle special characters, brand names, abbreviations, and more - all applied before Craft's default slugification.

  • Per-Site ASCII Transliteration Control
    Override Craft's global limitAutoSlugsToAscii setting and choose which sites should transliterate slugs.

  • Hashtag Conversion
    Automatically convert hashtags like #WeLoveCraft into readable slugs like hashtag-we-love-craft.

Language support

Slugsmith is localized in:
Arabic, Chinese, Czech, Danish, Dutch, English, French, German, Greek, Hebrew, Italian, Japanese, Korean, Polish, Portuguese, Russian, Spanish, Swedish, Turkish, Ukrainian. Need another language? Feel free to contact us or submit a feature request.

Requirements

  • Craft CMS: 5.0.0+
  • PHP: 8.2+

Installation

Install Slugsmith via the Craft Plugin Store
or using Composer:

composer require mediakreativ/craft-slugsmith
./craft plugin/install slugsmith

Feedback & Support

Your feedback helps us improve! For feature requests or bug reports, please submit an issue on GitHub. You can also reach us directly via email at plugins@mediakreativ.de.