i have a site that has 3 web applications, lets use this example:
The main application is nicy, so if the user comes for the first time (or if Google indexes my site) that will be the default choice. This is the code placed inside example.com/index.php
<? header('HTTP/1.1 301 Moved Permanently'); header('Location: http://example.com/nicy'); die(); ?>
Is this solution SEO friendly for Google to index the nicy subdirectory as the main entrance page for the domain? (because of the 301 redirect).