2003-05-06 18:16:07 -04:00
|
|
|
<?php
|
2004-04-27 19:17:16 -04:00
|
|
|
require_once ('./wp-config.php');
|
2004-01-09 19:56:48 -05:00
|
|
|
if (!empty($_SERVER["QUERY_STRING"])) {
|
|
|
|
$location = get_bloginfo('rss2_url').'?'.$_SERVER["QUERY_STRING"];
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
$location = get_bloginfo('rss2_url');
|
|
|
|
}
|
2003-11-10 18:32:02 -05:00
|
|
|
header('HTTP/1.0 301 Moved Permanently');
|
2004-01-09 19:56:48 -05:00
|
|
|
header('Location: ' . $location . "\n");
|
2003-11-10 18:32:02 -05:00
|
|
|
exit;
|
|
|
|
?>
|