`
// Простой редирект
//================================
$rurl = $_SERVER['REQUEST_URI'];
if ($rurl=='/?id=8'){
header("HTTP/1.1 301 Moved Permanently");
header("Location: /");
exit();
}
//================================
// Список простых редиректов
//======================================================================
$inweb_seo['301s'] = array(
'/index.php?route=product/manufacturer' => '/product___manufacturer',
);
if ((!empty($inweb_seo['301s'][$_SERVER['REQUEST_URI'))&&(empty($_POST))){
$new_url = $inweb_seo['301s'][$_SERVER['REQUEST_URI']];
header("Location: $new_url", true, 301);
die();
}
//======================================================================
`
]]