|
|
|
@ -3002,6 +3002,11 @@ get('/:static/:sub', function ($static, $sub) { |
|
|
|
$url = site_url() . 'search/' . remove_accent($search); |
|
|
|
header("Location: $url"); |
|
|
|
} |
|
|
|
|
|
|
|
if ($static === 'front') { |
|
|
|
$redir = site_url(); |
|
|
|
header("location: $redir", TRUE, 301); |
|
|
|
} |
|
|
|
|
|
|
|
$father_post = get_static_post($static); |
|
|
|
if (!$father_post) { |
|
|
|
|