sdanks Posted June 14, 2005 Posted June 14, 2005 When I installed the latest php-nuke, it put the main index.php file in the "html" folder. Can I change the root folder that everyone sees when going to my site from "public_html" to "public_html\html"? Right now I am using a redirect page, but I think that's messy. I dont know what would happen if I reinstalled and put it up one level and changed the html folder to public_html. I think alot of links would stop working. . . . Any advice? Quote
TCH-Thomas Posted June 14, 2005 Posted June 14, 2005 Welcome to the forum, sdanks I don´t know much about php (so before doing anything, let someone verify or correct me on this), but I think that if you remove the index.html, the index.php will be shown. Quote
sdanks Posted June 14, 2005 Author Posted June 14, 2005 (edited) o.k. I figured it out. I did not search for the right keywords. The answer was here all along. You use the redirect link from Cpanel. Then leave the first field blank (root) and put the full url directory in the second. What I wanted the system to do was when someone went to mysite.com, they would not be put in the "mysite.com\public_html" directory, but in the "mysite.com\public_html\html" directory. That is where the index.php file is located at. Thanks for the followup though. Edited June 14, 2005 by sdanks Quote
sdanks Posted June 16, 2005 Author Posted June 16, 2005 Thanks for making me feel so welcomed. . . . Quote
stevevan Posted June 16, 2005 Posted June 16, 2005 And a big welcome from me, too! Glad you found the problem and shared the solution with everyone. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.