Results 1 to 12 of 12

Thread: Best way to organize Public_html folder
      
   

  1. #1
    WebSleeves is offline Corporal
    Join Date
    Apr 2008
    Posts
    18

    Default Best way to organize Public_html folder

    I have uploaded some of my pages with images to my public folder. When I look at them in cpanel file manager they are all mixed together.

    Should I place the index page in a subdirectory and then sub web pages in that directory or should sub pages be in subdirectories of the index page?

    Will my index page be found if it is in a subdirectory of public_html?

    If I place index in a subdirectory and other pages in subdirectories of this, could I password protect the index directory (and then all sub directories)?

    Should I create a images directory and then place all images in that directory? If so, can this be done from BlueVoda Web Developer using the publish button?

    Also, I am able to see my web page www.AfricanDreamAdventureSafaris.com using the link in my welcome email but not directly on the internet. Any ideas? I also am not able to move from page to page (not all links are in yet, but the ones I have put in don't work). I wonder if I am labeling the pages incorrectly. Can I use capital letters in my page names as long as I publish using them and then use them in my links?

    Thanks

  2. #2
    Join Date
    Feb 2006
    Location
    Earth
    Posts
    8,721

    Default Re: Best way to organize Public_html folder

    Hi, this url http://www.africandreamadventuresafaris.com/ cant be found in the whois directory. Is it registered as yet???

  3. #3
    CarbonTerry's Avatar
    CarbonTerry is offline Major General
    Join Date
    Oct 2005
    Location
    St L MO
    Posts
    2,590

    Default Re: Best way to organize Public_html folder

    Yes, you can use upper case EXCEPT for the index page.
    Yes, you can have pages in subdirectories that are password protected.
    Of course you have to publish to those directories...public_html/directory1
    The the URL would look like....www.website.com/directory1/Safari.html
    There is really no need to "tidy" your public_html directory. If you move anything after it is published you will have missing data and could trigger a 404 Error page.
    If you place your index page in a subdirectory you will have to publish it to a subdirectory and the URL would look like www.website.com/indexdirectory (nothing added to the end here as it will automatically find the index page.
    You could have an index page in every subdirectory.
    The URL would the be www.website.com/directory1 (nothing here on the end either
    However, this can creat a stunning amounty of confusion when publishing if you have several " index " pages open at the same time.
    Is there truly a need for password protection or tidying up in the CPanel?
    You have not yet purchased this domain name.
    CarbonTerry
    Semper Fi
    Still green...still mean......just not as lean

    Red Hawk Archery
    Zone 5 Photo
    My USMC

  4. #4
    WebSleeves is offline Corporal
    Join Date
    Apr 2008
    Posts
    18

    Default Re: Best way to organize Public_html folder

    Thought so. I got welcome email and uploaded using my given user name and password.

    Am I having problems because I loaded as www.AfricanDreamAdventureSafaris.com rather than www.africandremadventuresafaris.com? Does the capitals make a difference? If, so can I use the capitals?

    Thanks

  5. #5
    CarbonTerry's Avatar
    CarbonTerry is offline Major General
    Join Date
    Oct 2005
    Location
    St L MO
    Posts
    2,590

    Default Re: Best way to organize Public_html folder

    Makes no difference in the domain. However, on the page names it must be exactly as published.
    CarbonTerry
    Semper Fi
    Still green...still mean......just not as lean

    Red Hawk Archery
    Zone 5 Photo
    My USMC

  6. #6
    WebSleeves is offline Corporal
    Join Date
    Apr 2008
    Posts
    18

    Default Re: Best way to organize Public_html folder

    Looks likem I really screwed up! Apparantly I registered as
    africandreamadvenuresafaris.com rather than africandreamadventuresafaris.com! I left the "t" out of adventure.

    What now?!?

    Guess I'll check with customer support.

  7. #7
    Andy128's Avatar
    Andy128 is offline Major General
    Join Date
    Dec 2005
    Location
    Michigan
    Posts
    2,322

    Default Re: Best way to organize Public_html folder

    yes- open a support ticket.

    Andy
    PHP- is a blast!

  8. #8
    zuriatman's Avatar
    zuriatman is offline Moderator
    Join Date
    Sep 2006
    Location
    Malaysia
    Posts
    3,039

    Smile Re: Best way to organize Public_html folder

    Hi,

    It is better that you establish a proper filing system in your "public_html"
    otherwise it will be one big mess.

    I have my main domain plus 3 addon domains in my cPanel public _html/
    and here is how it looks.



    The above is just to give you an idea.

    You have to have an organised filing method otherwise mantainence of
    your webpages will be horibbly difficult.
    www.siapamoyanganda.com/
    Malaysian Family Tree Website From the
    State of Johor.

    HAPPY ARE THOSE WHO DREAM DREAMS AND ARE READY TO PAY THE PRICE TO MAKE THEM COME TRUE.

  9. #9
    CarbonTerry's Avatar
    CarbonTerry is offline Major General
    Join Date
    Oct 2005
    Location
    St L MO
    Posts
    2,590

    Default Re: Best way to organize Public_html folder

    Not Really. I have 7 addon domains. Each addon has its own folder. I have no issues keeping files sorted. Of course it depends somewhat on what info the domain is storing.
    CarbonTerry
    Semper Fi
    Still green...still mean......just not as lean

    Red Hawk Archery
    Zone 5 Photo
    My USMC

  10. #10
    zuriatman's Avatar
    zuriatman is offline Moderator
    Join Date
    Sep 2006
    Location
    Malaysia
    Posts
    3,039

    Default Re: Best way to organize Public_html folder

    Best way to organize Public_html folder
    I have uploaded some of my pages with images to my public folder. When I look at them in cpanel file manager they are all mixed together.

    From: Websleeves.


    Hi Carbon Terry,

    My suggestion and advice was not meant for you but for "Websleeves".
    You have your own opinion, I have mine.
    www.siapamoyanganda.com/
    Malaysian Family Tree Website From the
    State of Johor.

    HAPPY ARE THOSE WHO DREAM DREAMS AND ARE READY TO PAY THE PRICE TO MAKE THEM COME TRUE.

  11. #11
    CarbonTerry's Avatar
    CarbonTerry is offline Major General
    Join Date
    Oct 2005
    Location
    St L MO
    Posts
    2,590

    Default Re: Best way to organize Public_html folder

    Your published items must remain in their original published locations. You may of course have a well organized, extensive, system of folders/directories as zuriatman has suggested. You can have a folder/directory for each page. When publishing it could look like this:
    public_html/index_folder.
    Then only files dealing with the index page would be in the index_folder. (unless you make an error and publish an incorrect file to that particular folder)
    For data bases, stored information, downloads it make perfect sense as zuriatman explained to have a folder/directory for those types of items.
    At first glance, your public_html file may appear to be jumbled/mixed together files. It is a filing system using a modified alpha numeric order.
    CarbonTerry
    Semper Fi
    Still green...still mean......just not as lean

    Red Hawk Archery
    Zone 5 Photo
    My USMC

  12. #12
    WebSleeves is offline Corporal
    Join Date
    Apr 2008
    Posts
    18

    Default Re: Best way to organize Public_html folder

    Thanks for the two differet perspecetives. Appreciate the info.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49