CODE (htmlphp):
скопировать код в буфер обмена
скопировать код в буфер обмена
- RewriteCond %{HTTP_HOST} ^site.com$ [NC]
- RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/
- RewriteRule ^index\.php$ http://site.com/ru/ [R=301,L]