Jump to content

Recommended Posts

Posted

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?

Posted

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.

Posted (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 by sdanks

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...