WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] lock out directories (19 posts)

  1. truckingtruth
    Member
    Posted 2 years ago #

    Hi
    I am using the sub-directory methiod
    Is there away to lock out directories so wordpress dose not use them, or dose wordpress know what directories are in use?

  2. govpatel
    Member
    Posted 2 years ago #

    If you using wordpress from directory you should have three directories and wp- files and they all needed to run wordpress

  3. esmi
    Forum Moderator
    Posted 2 years ago #

    WordPress will not touch any directories other than its own.

  4. truckingtruth
    Member
    Posted 2 years ago #

    I want to install to give free sites on my website but I don’t want wordpress to screw up my current directories

    Example
    http://myfreehostingservices.com/billing/
    http://myfreehostingservices.com/classifieds/
    http://myfreehostingservices.com/ClientMarketing/

    I don’t want someone to be able to create an account under billing, classifieds, ClientMarketing etc.

  5. esmi
    Forum Moderator
    Posted 2 years ago #

    WordPress will not touch any directories other than its own.

  6. truckingtruth
    Member
    Posted 2 years ago #

    WordPress will not touch any directories other than its own.

    So how dose wordpress work then? I do know that when a user creates an account lets call it xmen, once created it will show in the browser as http://domain/xmen/

    using my knowledge of computers xmen is a directory

  7. esmi
    Forum Moderator
    Posted 2 years ago #

    Assuming you are using Multisite (in which case, you really should be posting in the Multisite forum), all of the member sites will be created under a blogs directory - again within the WordPress directory structure.

  8. govpatel
    Member
    Posted 2 years ago #

    No is not all users are saved in a table in database.
    The only directories wordpress creates will be in wp-content folder that will be your uploads like media.

    As Esmi said unless you set multisite if you allow your users to create wordpress site their own or create one for theme.

  9. truckingtruth
    Member
    Posted 2 years ago #

    sorry thought I was in MU

    Its just a little confusing because two different files cant share the same space

    So if a user creates xmen and there is a directory existing called xmen there will be a conflict, not?

  10. truckingtruth
    Member
    Posted 2 years ago #

    this would be a multisite

  11. govpatel
    Member
    Posted 2 years ago #

    No there want as directory created by xmen site will be in blog directory and that is in wp-content directory.

    WordPress will not create a directory in your root if that is confusing you.The only directories there will wp-admin,wp-includes and wp-content.

  12. truckingtruth
    Member
    Posted 2 years ago #

    WordPress will not create a directory in your root if that is confusing you.The only directories there will wp-admin,wp-includes and wp-content.

    ok I do understand that part but...

    when some goes to http://domain/xmen/ and there is a directory in the root called xmen. what happens

  13. esmi
    Forum Moderator
    Posted 2 years ago #

    A sub-directory install creates a path-based network, even though it does not use file system directories.

    http://codex.wordpress.org/Create_A_Network
    [the bold is mine]

  14. truckingtruth
    Member
    Posted 2 years ago #

    Maybe I am just over thing this?

    But again when someone creates and goes to xmen site http://domain/xmen/ and there is a directory in the root called xmen. what happens???

  15. truckingtruth
    Member
    Posted 2 years ago #

    Will the directory in the root always come up first?

  16. truckingtruth
    Member
    Posted 2 years ago #

    lets say there is an index.php in that directory that is in the root?

  17. truckingtruth
    Member
    Posted 2 years ago #

    Well I just tryed a test on my MU blog and the answer to my own question:

    The index.php file in the directory within the root will come up first. There for I can an will install on Saturday and if someone should create a site that has the same name as one my directories at least I wont need to worry about that directory

  18. govpatel
    Member
    Posted 2 years ago #

    Each directory can have index file as that the first file server opens if you check each directory in wordpress there is index.php file may be blank in some directories as that is how it should be.

  19. govpatel
    Member
    Posted 2 years ago #

    As for your worry about having same name wordpress works with id number and then permalink mod_rewrite module rewrites the url

Topic Closed

This topic has been closed to new replies.

About this Topic