Update of /cvsroot/php-blog/serendipity
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28838
Modified Files:
Tag: branch-smarty
NEWS exit.php
Log Message:
use 301 header redirect for our exit.php urls
Index: NEWS
===================================================================
RCS file: /cvsroot/php-blog/serendipity/NEWS,v
retrieving revision 1.214.2.43
retrieving revision 1.214.2.44
diff -u -d -r1.214.2.43 -r1.214.2.44
--- NEWS 2 Nov 2004 09:08:31 -0000 1.214.2.43
+++ NEWS 2 Nov 2004 10:04:22 -0000 1.214.2.44
@@ -3,7 +3,10 @@
Version 0.8 ()
------------------------------------------------------------------------
- * New plugin manager (tomsommer)
+ * exit.php redirection will emit a 301 Moved Permanently header for
+ the new location. (garvinhicking)
+
+ * Reworked plugin manager for easier plugin installation (tomsommer)
* Karma plugin works with enabled entryproperties plugin and can
be configured to only show Hit-statistics for an entry without
Index: exit.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/exit.php,v
retrieving revision 1.6.2.1
retrieving revision 1.6.2.2
diff -u -d -r1.6.2.1 -r1.6.2.2
--- exit.php 16 Oct 2004 09:12:15 -0000 1.6.2.1
+++ exit.php 2 Nov 2004 10:04:35 -0000 1.6.2.2
@@ -24,6 +24,7 @@
}
if (serendipity_isResponseClean($url)) {
+ header('HTTP/1.0 301 Moved Permanently');
header('Location: ' . $url);
}
exit;
|