2003-05-07 00:16:07 +02:00
|
|
|
<?php
|
2003-11-11 00:32:02 +01:00
|
|
|
$curpath = dirname(__FILE__).'/';
|
|
|
|
require_once ($curpath.'wp-config.php');
|
2003-12-18 10:36:13 +01:00
|
|
|
require_once ($curpath.WPINC.'/template-functions.php');
|
2004-01-10 01:56:48 +01:00
|
|
|
if (!empty($_SERVER["QUERY_STRING"])) {
|
|
|
|
$location = get_bloginfo('rss_url').'?'.$_SERVER["QUERY_STRING"];
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
$location = get_bloginfo('rss_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;
|
|
|
|
?>
|