Permalink
Browse files

Fixed issue where redirects were using a 302 instead of a 301

  • Loading branch information...
1 parent d667719 commit ad6e46feb754d9d4e8ce6f1ec51b749112aaa3f4 David McReynolds committed Mar 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 fuel/modules/fuel/controllers/page_router.php
@@ -192,7 +192,7 @@ function _redirects()
$val = preg_replace('#^'.$key.'$#', $val, $uri);
}
$url = site_url($val);
- redirect($url, 301);
+ redirect($url, 'location', 301);
}
}
}

0 comments on commit ad6e46f

Please sign in to comment.