zeokat/flarum-ext-seoslugs

Use friendly URLs (aka transliteration) in slugs

Installs: 1 402

Dependents: 0

Suggesters: 0

Security: 0

Stars: 5

Watchers: 2

Forks: 1

Open Issues: 2

Type:flarum-extension

v0.1.6 2019-02-10 16:46 UTC

This package is not auto-updated.

Last update: 2024-04-15 19:28:59 UTC


README

UPDATE 14/03/2020: This extension is not maintained anymore because since Flarum Beta 12, it includes a native Laravel Str::slug() trasliterator.

Friendly URLs (aka transliteration) in slugs for Flarum

MIT license

Friendly URL slugs Flarum

With this extension, Flarum can transliterate discussion's slugs. This converts strings like tránslįteratiön tėst ųsąge ñūtž to transliteration-test-usage-nutz. This trasliterator extension is different from those previously published to Flarum.

To achieve modern and more uniform results, as some successful CMSs with years of development behind them, the transliteration rules are based (slightly modified) on the WordPress transliterating function.

You can see this extension in action at: https://foro.vozidea.com

To install it with composer: composer require zeokat/flarum-ext-seoslugs

This extensions was deeply tested under several languages (Spanish, German, Russian, Chinese, etc) and It should work as expected, without bugs. My goal in publishing this extension, is that in a near future it can be part of the of the Flarum's core. For this reason it is important that people from all over the world thoroughly test the extension and give their opinion on how to improve it or simply report bugs.

GitHub: https://github.com/Zeokat/flarum-ext-seoslugs

Packagist: https://packagist.org/packages/zeokat/flarum-ext-seoslugs