RewriteRule ^text/([a-zA-Z]+)/?$ /app/text/detail.php?t=$1\p{Cyrillic} https://www.php.net/manual/ru/regexp.reference.uni...\p{L}.RewriteRule (*UTF8)^text/(\p{L}+)/?$ /app/text/detail.php?t=$1 [L][а-яёА-ЯЁ], то файл должен быть сохранён в UTF-8 без BOM.RewriteRule (*UTF8)^text/([а-яёА-ЯЁ]+)/?$ /app/text/detail.php?t=$1 [L]RewriteRule ^text/((?:\xd0[\x81\x90-\xbf]|\xd1[\x80-\x91])+)/?$ /app/text/detail.php?t=$1 [L]