Description
Sohaus Clean Emoji Slugs keeps WordPress permalinks clean when editors use emoji in post titles.
By default, WordPress may include emoji or encoded emoji characters in generated slugs. This plugin removes emoji, pictograms, dingbats, variation selectors and related characters from slugs while leaving the original title unchanged.
Example:
❤️ I love WordPress 🩸
Becomes:
i-love-wordpress
The plugin works automatically when a post, page or supported public post type is saved.
Features
- Removes emoji from slugs.
- Cleans already encoded emoji in existing slugs when a post is saved, but does not bulk-update old posts automatically.
- Keeps emoji in post titles.
- Works on save and update.
- Supports posts and pages by default.
- Does not add database tables.
- Does not track users.
- Does not send any data to external services.
Installation
- Upload the plugin files to the
/wp-content/plugins/sohaus-clean-emoji-slugsdirectory, or install the plugin through the WordPress plugins screen. - Activate the plugin through the “Plugins” screen in WordPress.
- Edit or create a post with emoji in the title.
- Save the post. The slug will be cleaned automatically.
FAQ
-
Does this remove emoji from post titles?
-
No. The plugin only cleans the slug. The post title remains unchanged.
-
Does this change old URLs automatically?
-
No. Existing posts are cleaned when they are saved again. This avoids unexpected bulk URL changes.
-
Will this create redirects?
-
No. The plugin only changes the slug. If you change URLs for already published content, make sure redirects are handled by WordPress or by your SEO/redirection setup.
-
Does this work with custom post types?
-
The plugin can be adjusted to support custom post types. By default it is intended for all post types.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Sohaus Clean Emoji Slugs” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Sohaus Clean Emoji Slugs” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.0
- Initial release.
