WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] WordPress Directory Structure (11 posts)

  1. lawloretienne
    Member
    Posted 3 years ago #

    So i have been trying to familiarize myself with the directories in a wordpress application. It seems that there are some duplicate directories. I assume this is intentional but i am curious why this is. Can anyone give a brief description of what is in some of the root level directories? Some of the duplicate directories are in home and home2 and also lib and lib64. Thanks.

  2. You may find this helpful: http://www.howtospoter.com/web-20/wordpress/wordpress-guide-dissection-of-file-structure

    There are only THREE top level folders, though.

    wp-content (where themes, plugins and uploaded files live)
    wp-admin (where all admin tools live)
    wp-includes (where the code that runs it all lives)

  3. lawloretienne
    Member
    Posted 3 years ago #

    That guide is very helpful. I was confused with how my hosting service's directory hierarchy. Most directories are shared on the server. The only directory that is specific to wordpress is /home2/public_html which contains those top level folders:

    wp-content (where themes, plugins and uploaded files live)
    wp-admin (where all admin tools live)
    wp-includes (where the code that runs it all lives)

    Thanks for the speedy response. I hope this can help clear the confusion for some other devs new to WordPress.

  4. Dean Moore
    Member
    Posted 3 years ago #

    Does that image change with the Hosting company?

  5. lawloretienne
    Member
    Posted 3 years ago #

    Oh just to clarify the duplicate directories are really just one directory with a symbolic link to another directory. Some hosting companies decide to use symbolic links with the shared directories in an effort to reorder the file system hierarchy. I'm not quite sure what you mean Dean by the image? If you are talking about the WordPress file structure, i think it is the same independent of what hosting company you use.

  6. Does that image change with the Hosting company?

    It's not supposed to. ONE host I know does rename wp-content, and I want to kick them for it.

    Every install of WP should look the same with the basic files/folders.

  7. Dean Moore
    Member
    Posted 3 years ago #

    @ lawloretienne - What I mean is according to the link above the image that link takes me to. I have had problems with the WordPress install and than using plugins that seem to be alright and then when I get an upgrade from WordPress all of a sudden plugiins act really strange. I have had the support team relaod WP software for me but when I looked at the directory files according to the image posted here I have duplicate pulic_html links and wp files under those links as well and I believe this is causing a conflict. What ever I do the set up does not work. I am not sure what is happening. I hope I explained that correctly.

    @ Ipstenu - "Every install of WP should look the same with the basic files/folders."

    That is what I want to clarify and be sure of because then I can go back to my cpanel and delete the duplicate files.

  8. I would say this: If you do not know FOR SURE what you are deleting, DON'T :D

    I have had the support team relaod WP software for me but when I looked at the directory files according to the image posted here I have duplicate pulic_html links and wp files under those links as well and I believe this is causing a conflict.

    That seems odd. I mean, you can't have two files/folders with the same name in the same location. That's impossible.

    You MIGHT have a public_html and a www folder in the same location, but DO NOT delete that! One is an alias for the other!

  9. Dean Moore
    Member
    Posted 3 years ago #

    Ipstenu

    Trust me when I say there are two public_html folders actually three. One had a big bllue ball like icon on it and that is the original but the other two are just file folders.

    That is why I believe I need to delete them.

  10. I would ask my host (or go in via SSH and look and see what KIND of file/folder it is) before deleting. Or take a REALLY good backup.

  11. Dean Moore
    Member
    Posted 3 years ago #

    Ipstenu

    It is a duplicate of the original in part. That is what I have found thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic