I have a blog, lets say example.com
and another blog installed in example.com/np
which is not multisite but a different WordPress installation.
You can use is_home() or is_front_page() function to redirect your home page.
You can use a Wordpress function to detect if you're on the home page:
is_home
http://codex.wordpress.org/Function_Reference/is_home
<?php
if ( is_home() ) {
// This is a homepage - 301 Redirect
header("HTTP/1.1 301 Moved Permanently");
header("Location: http://www.example.com/np");
exit;
} else {
// This is not a homepage
}
?>