2003-05-06 18:16:07 -04:00
|
|
|
<?php
|
2003-11-10 18:32:02 -05:00
|
|
|
$curpath = dirname(__FILE__).'/';
|
|
|
|
require_once ($curpath.'wp-config.php');
|
2003-12-18 04:36:13 -05:00
|
|
|
require_once ($curpath.WPINC.'/template-functions.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;
|
|
|
|
?>
|