Menu

#1 Redirect should be permanent

open
nobody
None
5
2008-07-09
2008-07-09
No

See http://epeus.blogspot.com/2008/07/shortening-urls-or-getting-inbetween.html

$ diff -u index.php index.php.301
--- index.php 2005-04-25 02:35:53.000000000 -0700
+++ index.php.301 2008-07-09 01:06:45.000000000 -0700
@@ -79,7 +79,7 @@

if ( $location != -1 )
{
- header('Location: '.$location);
+ header('Location: '.$location, TRUE, 301);
}
else
{

Discussion


Log in to post a comment.

MongoDB Logo MongoDB