Location: PHPKode > scripts > QuickMinisite - Auto-Updating SEO Friendly Minisite Script > quickminisite-auto-updating-seo-friendly-minisite-script/redirect.php
<?php
$name = $_GET['name'];
if (empty($name)) {
	header( 'Location: index.php' ) ;
} else {
$name = urlencode($name);

	header('Location: /'.urlencode($name).'.html');
}
?>
Return current item: QuickMinisite - Auto-Updating SEO Friendly Minisite Script