Skip to content

Commit

Permalink
make redirects 301 redirect permanently to be SEO friendly
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc committed Jun 11, 2012
1 parent 70243fa commit 9796335
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions action.php
Expand Up @@ -73,6 +73,7 @@ function handle_pageredirect_redirect(&$event, $param) {
}

// redirect
header("HTTP/1.1 301 Moved Permanently");
header("Location: ".wl($page, Array('redirect' => $redirect), TRUE, '&'). $section);
exit();
}
Expand Down

0 comments on commit 9796335

Please sign in to comment.