redirect bookmark
This commit is contained in:
@@ -188,7 +188,7 @@ function promo_kuri($hash, $page = 0, $promo = true){
|
|||||||
$page = 1; //если нет страницы то первая
|
$page = 1; //если нет страницы то первая
|
||||||
if ($bookmark !== false and $bookmark > 1){
|
if ($bookmark !== false and $bookmark > 1){
|
||||||
header("HTTP/1.1 301 Moved Permanently");
|
header("HTTP/1.1 301 Moved Permanently");
|
||||||
header('Location: '.SITE.'read/'.$hash.'/'.$page.'/'.$promo);
|
header('Location: '.SITE.'read/'.$hash.'/'.$bookmark.'/'.$promo);
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user