Converts Cyrillic and Georgian characters in post, page and term slugs to Latin characters. Useful for creating human-readable URLs.
This plugin is a fork of
cyr2lat plugin.
Features
- Automatically converts existing post, page and term slugs on activation
- Saves existing post and page permalinks integrity
- Performs transliteration of attachment file names
- Includes Russian, Belarusian, Ukrainian, Bulgarian and Macedonian characters
- Transliteration table can be customized without editing the plugin itself
Based on the original Rus-To-Lat plugin by Anton Skorobogatov.
- Upload
cyr3lat
folder to the /wp-content/plugins/
directory.
- Activate the plugin through the 'Plugins' menu in WordPress.
- Make sure your system has iconv set up right, or iconv is not installed at all. If you have any problems (trimmed slugs, strange characters, question marks) - please ask for support.
== Frequently Asked Questions ==
How can I define my own substitutions?
Add this code to your theme's
functions.php
file:
function my_cyr_to_lat_table($ctl_table) { $ctl_table['Ъ'] = 'U'; $ctl_table['ъ'] = 'u'; return $ctl_table; } add_filter('ctl_table', 'my_cyr_to_lat_table');