aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2007-04-09 23:24:34 +0000
committerrvelices <rv-github@modusoptimus.com>2007-04-09 23:24:34 +0000
commit5f4f11299a8985557afd1ee4f68432cea40e2d7c (patch)
tree211f936fbf41f3b5bab3317f5ef65518996ae7e6 /include
parentbb5821e577cf0b88364eb6dae5f568f0edf4d856 (diff)
permalink and category.php redirections are permanent (http code 301) instead of temporary (301)
added rel nofollow for the metadata link on picture page changed h2 background color style in dark/mail-css (was not readable when images are not downloaded) git-svn-id: http://piwigo.org/svn/branches/branch-1_7@1949 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--include/section_init.inc.php2
1 files changed, 1 insertions, 1 deletions
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 );