aboutsummaryrefslogtreecommitdiffstats
path: root/category.php
diff options
context:
space:
mode:
Diffstat (limited to 'category.php')
-rw-r--r--category.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/category.php b/category.php
index f0a5161f7..8b0ade406 100644
--- a/category.php
+++ b/category.php
@@ -56,6 +56,12 @@ if ( isset($_GET['cat']) )
}
}
-redirect ( make_index_url($url_params) );
+$url = make_index_url($url_params);
+if (!headers_sent())
+{
+ set_status_header(302);
+ redirect_http( $url );
+}
+redirect ( $url );
?> \ No newline at end of file