Scenario:
"I installed Nucleus in its own /nucleus/ directory to organize files but I want someone visiting http://mydomain.com/ to see the Nucleus page right away without having to go to http://mydomain.com/nucleus/ - is this possible?"
Solution:
Create an index.php file in the your root directory (mydomain.com). Make sure there are no other main index-type files (index.htm, index.html, etc) and include the following code in the index.php file:
<?php
header("HTTP/1.1 301 Moved Permanently");
header('Location: http://example.com/nucleus');
?>
This will redirect every user/request to the /nucleus/ directory.
Original forum thread (thanks, Winnie and pepiino!):
http://forum.nucleuscms.org/viewtopic.php?t=9575
![]()
Total votes: 13 - Rating: 7.62