|
@@ -96,9 +96,9 @@ def hook_preconvert_compat():
|
96
|
96
|
fp.write("}\n")
|
97
|
97
|
fp.write("if ($_SERVER['SERVER_PROTOCOL'] == 'HTTP/1.1') {\n")
|
98
|
98
|
fp.write(" if (php_sapi_name() == 'cgi') {\n")
|
99
|
|
- fp.write(" header('Status: 303 See Other');\n")
|
|
99
|
+ fp.write(" header('Status: 301 Moved Permanently');\n")
|
100
|
100
|
fp.write(" } else {\n")
|
101
|
|
- fp.write(" header('HTTP/1.1 303 See Other');\n")
|
|
101
|
+ fp.write(" header('HTTP/1.1 301 Moved Permanently');\n")
|
102
|
102
|
fp.write(" }\n")
|
103
|
103
|
fp.write("}\n");
|
104
|
104
|
fp.write("header('Location: '.$loc);\n")
|