Skip to content

Plugin for using unicode urls instead of transliterations to ASCII characters

License

Notifications You must be signed in to change notification settings

wcz-txp/Unicode-url-for-Textpattern

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unicode-url-for-Textpattern

Summary
textpattern plugin wcz_utf8_url – uses UTF-8 permlinks instead of transliterated ones for SEO
Features
automatically handles non-ASCII characters
integrated function for updating all of your existing titles – backup first!!!, use on your OWN risk —
works with German, Russian, Ukrainian (on live sites)
tested with Japanese, Farsi, Arabic =:
Version history:

0.1.7 – fixed error with right-to-left languages
0.1.6 – Minor fix autodetect charset in mb_strlower
0.1.5 – Minor fix for mb_strlower and charset
0.1.4 – minor fix of preserving already existing dashes/minuses
0.1.3 – added remove small words
0.1.2 – minor fixes with double dashes and trimming the url string
0.1.1 – minor fixes
0.1.0 – initial release

Requirements
Tested with: Textpattern 4.4.1 – 4.5.7, MySQL 5.1.49, PHP 5.3.3 (Debian Squeeze)
Download & Installation
Download wcz_utf_url and install it in the usual way.
Adjust Textpattern→Advanced Options→“Maximum URL length (in characters)” to your needs. =:
Source
Git repository: https://github.com/whocarez-textpattern/Unicode-url-for-Textpattern =:
Bugs & Limitations
Let me know if you find any problems.
To do
make list of “small words” a parameter
Feedback
Comments are welcome.
Credits
Big thanks to Gocom