Closed Thread
Results 1 to 6 of 6

Thread: What should be in the root directory?

  1. #1
    bpakidz's Avatar
    bpakidz is offline x10Hosting Member bpakidz is an unknown quantity at this point
    Join Date
    Aug 2008
    Location
    Paradise -- yeh, right!
    Posts
    36

    What should be in the root directory?

    I hope that this is the right forum for this question. I am using FireFTP to upload my site and rather than uploading to the 'public_html' directory, like I know that I am supposed to, I accidentally posted everything to the root directory.

    How do I know what is 'supposed' to be there (for site functionality) and what I can delete (for security and cleanliness' sake)? Can someone help me out with this?

    Please and thank you!!
    -- Karen
    :rant2:Designing, Learning, Coding and going crazy!

    Whatever happens, take responsibility
    -- Tony Robbins

  2. #2
    sunils's Avatar
    sunils is offline x10 Spammer sunils is an unknown quantity at this point
    Join Date
    Jan 2008
    Location
    Chennai ,India
    Posts
    2,264

    Re: What should be in the root directory?

    Check the screen shot that i have attached here. Though it contains some extra directory, you can refer this.
    Attached Thumbnails Attached Thumbnails What should be in the root directory?-screenshot.jpg  
    [LEFT][B]Sunil Sankar
    -------------------------------------------------------------------------

  3. #3
    Sohail's Avatar
    Sohail is offline x10 Spammer Sohail is an unknown quantity at this point
    Join Date
    Sep 2007
    Location
    London, UK
    Posts
    3,052

    Re: What should be in the root directory?

    You don't need to delete anything in the root directory, most of those files are important for hosting, logs, cPanel and security.

    The public HTML folder is where you should put all your site's files, including your index.

  4. #4
    bpakidz's Avatar
    bpakidz is offline x10Hosting Member bpakidz is an unknown quantity at this point
    Join Date
    Aug 2008
    Location
    Paradise -- yeh, right!
    Posts
    36

    Re: What should be in the root directory?

    Quote Originally Posted by sohailamir52 View Post
    You don't need to delete anything in the root directory, most of those files are important for hosting, logs, cPanel and security.

    The public HTML folder is where you should put all your site's files, including your index.
    I know that everything should be in the public_html directory. That's why I am asking what I can delete. I accidentally posted everything to the root. I want to know which file folders must remain to keep my site functional. I don't want my site folders there, but don't want to delete the wrong ones, either. That's why I asked the question the way I did. Thanks, though.
    -- Karen
    :rant2:Designing, Learning, Coding and going crazy!

    Whatever happens, take responsibility
    -- Tony Robbins

  5. #5
    bpakidz's Avatar
    bpakidz is offline x10Hosting Member bpakidz is an unknown quantity at this point
    Join Date
    Aug 2008
    Location
    Paradise -- yeh, right!
    Posts
    36

    Re: What should be in the root directory?

    Issue resolved... thanks!
    -- Karen
    :rant2:Designing, Learning, Coding and going crazy!

    Whatever happens, take responsibility
    -- Tony Robbins

  6. #6
    sunils's Avatar
    sunils is offline x10 Spammer sunils is an unknown quantity at this point
    Join Date
    Jan 2008
    Location
    Chennai ,India
    Posts
    2,264

    Re: What should be in the root directory?

    Closing the thread, since the issue is solved. The author can reopen it again at any time.
    [LEFT][B]Sunil Sankar
    -------------------------------------------------------------------------

Closed Thread

Similar Threads

  1. Redirect Root Directory to Subdirectory w/ Joomla
    By caiol611 in forum Tutorials
    Replies: 8
    Last Post: 02-17-2011, 04:31 PM
  2. More than one script in root directory
    By Wizet in forum Programming Help
    Replies: 6
    Last Post: 08-14-2008, 09:33 AM
  3. Problem with root directory
    By suhaib in forum Programming Help
    Replies: 3
    Last Post: 06-08-2008, 12:46 AM
  4. Cant installed in my root directory
    By mhine in forum Free Hosting
    Replies: 4
    Last Post: 04-11-2008, 07:19 PM
  5. Is it possible to change the root directory?
    By onemind in forum Free Hosting
    Replies: 7
    Last Post: 10-15-2007, 02:30 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers