Комплексный маркетинг сайта: продвижение сайта, контекстная реклама, соц. сети, аналитика. От 15.000 рублей в месяц.
Главная » Полезные статьи » Администрирование (статьи) » Транслитерация автоматическая через htaccess рекурсивная

Транслитерация автоматическая через htaccess рекурсивная

RewriteRule ^(.*)\s(.*)$ $1-$2 [R=301,L,N,QSA] RewriteRule ^(.*)\s(.*)$ $1-$2 [R=301,L,N,QSA] RewriteRule ^(.*)а(.*)$ $1a$2 [R=301,L,N,QSA] RewriteRule ^(.*)б(.*)$ $1b$2 [R=301,L,N,QSA] RewriteRule ^(.*)в(.*)$ $1v$2 [R=301,L,N,QSA] RewriteRule ^(.*)г(.*)$ $1g$2 [R=301,L,N,QSA] RewriteRule ^(.*)д(.*)$ $1d$2 [R=301,L,N,QSA] RewriteRule ^(.*)е(.*)$ $1e$2 [R=301,L,N,QSA] RewriteRule ^(.*)ё(.*)$ $1jo$2 [R=301,L,N,QSA] RewriteRule ^(.*)ж(.*)$ $1zh$2 [R=301,L,N,QSA] RewriteRule ^(.*)з(.*)$ $1z$2 [R=301,L,N,QSA] RewriteRule ^(.*)и(.*)$ $1i$2 [R=301,L,N,QSA] RewriteRule ^(.*)й(.*)$ $1j$2 [R=301,L,N,QSA] RewriteRule ^(.*)к(.*)$ $1k$2 [R=301,L,N,QSA] RewriteRule ^(.*)л(.*)$ $1l$2 [R=301,L,N,QSA] RewriteRule ^(.*)м(.*)$ $1m$2 [R=301,L,N,QSA] RewriteRule ^(.*)н(.*)$ $1n$2 [R=301,L,N,QSA] RewriteRule ^(.*)о(.*)$ $1o$2 [R=301,L,N,QSA] RewriteRule ^(.*)п(.*)$ $1p$2 [R=301,L,N,QSA] RewriteRule ^(.*)р(.*)$ $1r$2 [R=301,L,N,QSA] RewriteRule ^(.*)с(.*)$ $1s$2 [R=301,L,N,QSA] RewriteRule ^(.*)т(.*)$ $1t$2 [R=301,L,N,QSA] RewriteRule ^(.*)у(.*)$ $1u$2 [R=301,L,N,QSA] RewriteRule ^(.*)ф(.*)$ $1f$2 [R=301,L,N,QSA] RewriteRule ^(.*)х(.*)$ $1h$2 [R=301,L,N,QSA] RewriteRule ^(.*)ц(.*)$ $1tz$2 [R=301,L,N,QSA] RewriteRule ^(.*)ч(.*)$ $1ch$2 [R=301,L,N,QSA] RewriteRule ^(.*)ш(.*)$ $1sh$2 [R=301,L,N,QSA] RewriteRule ^(.*)щ(.*)$ $1sch$2 [R=301,L,N,QSA] RewriteRule ^(.*)ъ(.*)$ $1j$2 [R=301,L,N,QSA] RewriteRule ^(.*)ы(.*)$ $1y$2 [R=301,L,N,QSA] RewriteRule ^(.*)ь(.*)$ $1j$2 [R=301,L,N,QSA] RewriteRule ^(.*)э(.*)$ $1ae$2 [R=301,L,N,QSA] RewriteRule ^(.*)ю(.*)$ $1ju$2 [R=301,L,N,QSA] RewriteRule ^(.*)я(.*)$ $1ja$2 [R=301,L,N,QSA] RewriteRule ^(.*)А(.*)$ $1a$2 [R=301,L,N,QSA] RewriteRule ^(.*)Б(.*)$ $1b$2 [R=301,L,N,QSA] RewriteRule ^(.*)В(.*)$ $1v$2 [R=301,L,N,QSA] RewriteRule ^(.*)Г(.*)$ $1g$2 [R=301,L,N,QSA] RewriteRule ^(.*)Д(.*)$ $1d$2 [R=301,L,N,QSA] RewriteRule ^(.*)Е(.*)$ $1e$2 [R=301,L,N,QSA] RewriteRule ^(.*)Ё(.*)$ $1jo$2 [R=301,L,N,QSA] RewriteRule ^(.*)Ж(.*)$ $1zh$2 [R=301,L,N,QSA] RewriteRule ^(.*)З(.*)$ $1z$2 [R=301,L,N,QSA] RewriteRule ^(.*)И(.*)$ $1i$2 [R=301,L,N,QSA] RewriteRule ^(.*)Й(.*)$ $1j$2 [R=301,L,N,QSA] RewriteRule ^(.*)К(.*)$ $1k$2 [R=301,L,N,QSA] RewriteRule ^(.*)Л(.*)$ $1l$2 [R=301,L,N,QSA] RewriteRule ^(.*)М(.*)$ $1m$2 [R=301,L,N,QSA] RewriteRule ^(.*)Н(.*)$ $1n$2 [R=301,L,N,QSA] RewriteRule ^(.*)О(.*)$ $1o$2 [R=301,L,N,QSA] RewriteRule ^(.*)П(.*)$ $1p$2 [R=301,L,N,QSA] RewriteRule ^(.*)Р(.*)$ $1r$2 [R=301,L,N,QSA] RewriteRule ^(.*)С(.*)$ $1s$2 [R=301,L,N,QSA] RewriteRule ^(.*)Т(.*)$ $1t$2 [R=301,L,N,QSA] RewriteRule ^(.*)У(.*)$ $1u$2 [R=301,L,N,QSA] RewriteRule ^(.*)Ф(.*)$ $1f$2 [R=301,L,N,QSA] RewriteRule ^(.*)Х(.*)$ $1h$2 [R=301,L,N,QSA] RewriteRule ^(.*)Ц(.*)$ $1tz$2 [R=301,L,N,QSA] RewriteRule ^(.*)Ч(.*)$ $1ch$2 [R=301,L,N,QSA] RewriteRule ^(.*)Ш(.*)$ $1sh$2 [R=301,L,N,QSA] RewriteRule ^(.*)Щ(.*)$ $1sch$2 [R=301,L,N,QSA] RewriteRule ^(.*)Ъ(.*)$ $1j$2 [R=301,L,N,QSA] RewriteRule ^(.*)Ы(.*)$ $1y$2 [R=301,L,N,QSA] RewriteRule ^(.*)Ь(.*)$ $1j$2 [R=301,L,N,QSA] RewriteRule ^(.*)Э(.*)$ $1ae$2 [R=301,L,N,QSA] RewriteRule ^(.*)Ю(.*)$ $1ju$2 [R=301,L,N,QSA] RewriteRule ^(.*)Я(.*)$ $1ja$2 [R=301,L,N,QSA]

Во всех статьях в коде заменены:

[ на [

{ на {

< на &123;

Звоните +7 (812) 914-41-56, ответим на вопросы на тему работы с MODX Evolution или комплексного маркетинга.

Заказать эту или любую другую услугу вы можете на странице контактов.