Skip to content

Commit

Permalink
Update htmly.php
Browse files Browse the repository at this point in the history
  • Loading branch information
danpros committed Apr 22, 2021
1 parent 9bc10ed commit c226eef
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions system/htmly.php
Original file line number Diff line number Diff line change
Expand Up @@ -3004,6 +3004,11 @@
$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) {
Expand Down

0 comments on commit c226eef

Please sign in to comment.