7b9938f084
git-svn-id: https://develop.svn.wordpress.org/trunk@748 602fd350-edb4-49c9-b593-d223f7449a82
14 lines
385 B
PHP
14 lines
385 B
PHP
<?php
|
|
$curpath = dirname(__FILE__).'/';
|
|
require_once ($curpath.'wp-config.php');
|
|
require_once ($curpath.WPINC.'/template-functions.php');
|
|
if (!empty($_SERVER["QUERY_STRING"])) {
|
|
$location = get_bloginfo('rdf_url').'?'.$_SERVER["QUERY_STRING"];
|
|
}
|
|
else {
|
|
$location = get_bloginfo('rdf_url');
|
|
}
|
|
header('HTTP/1.0 301 Moved Permanently');
|
|
header('Location: ' . $location . "\n");
|
|
exit;
|
|
?>
|