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