Редирект url на нижний регистр
Решение через PHP:
if ( $_SERVER['REQUEST_URI'] != strtolower( $_SERVER['REQUEST_URI']) ) {
header('Location:
http://'.$_SERVER['HTTP_HOST'] .
strtolower($_SERVER['REQUEST_URI']), true, 301);
exit();
}
Описание для анонса: Решение через PHP:
if ( $_SERVER['REQUEST_URI'] != strtolower( $_SERVER['REQUEST_URI']) ) {
header('Location:
http://'.$_SERVER['HTTP_HOST'] .
strtolower($_SERVER['REQUEST_URI']), true, 301);
exit();
}