diff --git a/category.php b/category.php index ef7098a4d..eefb90236 100644 --- a/category.php +++ b/category.php @@ -60,7 +60,7 @@ if ( isset($_GET['cat']) ) $url = make_index_url($url_params); if (!headers_sent()) { - set_status_header(302); + set_status_header(301); redirect_http( $url ); } redirect ( $url ); diff --git a/include/section_init.inc.php b/include/section_init.inc.php index 00c8c9137..9b16f937b 100644 --- a/include/section_init.inc.php +++ b/include/section_init.inc.php @@ -749,7 +749,7 @@ if ( 'categories'==$page['section'] and isset($page['category']) ) ); if (!headers_sent()) { // this is a permanent redirection - set_status_header(302); + set_status_header(301); redirect_http( $redirect_url ); } redirect( $redirect_url ); diff --git a/template/yoga/picture.tpl b/template/yoga/picture.tpl index d94ea8af6..542f8e952 100644 --- a/template/yoga/picture.tpl +++ b/template/yoga/picture.tpl @@ -18,7 +18,7 @@