redirect bookmark

This commit is contained in:
Andrey Kuvshinov
2020-05-15 21:53:10 +03:00
parent 8645de7b15
commit f147434e39

View File

@@ -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();
} }
} }