Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit ad6e46feb754d9d4e8ce6f1ec51b749112aaa3f4 1 parent d667719
@daylightstudio authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  fuel/modules/fuel/controllers/page_router.php
View
2  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);
}
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.