Changeset 748 for trunk/b2rdf.php
- Timestamp:
- 01/10/2004 12:56:48 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/b2rdf.php
r628 r748 3 3 require_once ($curpath.'wp-config.php'); 4 4 require_once ($curpath.WPINC.'/template-functions.php'); 5 if (!empty($_SERVER["QUERY_STRING"])) { 6 $location = get_bloginfo('rdf_url').'?'.$_SERVER["QUERY_STRING"]; 7 } 8 else { 9 $location = get_bloginfo('rdf_url'); 10 } 5 11 header('HTTP/1.0 301 Moved Permanently'); 6 header('Location: ' . get_bloginfo('rdf_url'). "\n");12 header('Location: ' . $location . "\n"); 7 13 exit; 8 14 ?>
Note: See TracChangeset
for help on using the changeset viewer.