header( "HTTP/1.1 301 Moved Permanently" ); header( "Status: 301 Moved Permanently" ); header( "Location: main.php" ); exit(0); // This is Optional but suggested, to avoid any accidental output ?>