WordPress.org

Support

Support » Multisite » Creating folders at the root of a network site?

Creating folders at the root of a network site?

  • In a previous, non-network installation I was able to put non-wordpress folders in the root (same folder as wordpress) and WP wouldn’t interfere.

    But, using the network, if I try to put things in the site’s numbered folder, next to /files, I get 404.

    Is there any way to create these kinds of non-WP folders at that level?

    Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • if I try to put things in the site’s numbered folder, next to /files, I get 404.

    the rewrite rules will interfere with that. What exactly are you trying to do?

    I’m migrating a site into a network. In the previous installation, WP was installed at the root – example.com/

    But I also had folders at that level — example.com/foo — that contain what might be described as stand-alone, non-WP micro-sites. WP was being cool and not interfering with them.

    In the network the site becomes number x. Since blogs.dir/x/files is served as example.com/files, I had hoped I could simply move the microsite over as blogs.dir/x/foo and have it served as example.com/foo, but no dice.

    Is it possible to create these folders such that they are available as example.com/foo?

    Or, less desirable but perhaps workable, redirect example.com/foo/* to something like example.com/files/foo/* ?

    Thanks!

    Dump ’em in the root.

    the down side is they’ll be served off all blog addresses as well as the previous one.

    That does work! I’m not sure, however, about the resulting mixing of sites… have to decide if it’s worth it in this case.

    Do you think, and this is pie-in-the-sky speculation, that it’s within the realm of the possible to create that functionality — putting them in the blogs.dir/x/ folder — with a plugin?

    Thanks so much for your help!

    I am reminded of the saying “it’s php, anything’s possible”, but it is beyond me. 😀

    Hi Marty,

    Is this what you were talking about? Maybe this will work for you?
    http://wordpress.org/support/topic/409635?replies=3

    Quoting Mercime:
    Go to Super Admin > Options – Registration Settings – Banned Names = names of subdirectory folders with WP installs
    e.g. if you have actual subdirectory sites at http://www.example.com/site1 and http://www.example.com/site2, include site1 and site2 in list of Banned Names

    So I presume if mysite.com is a WP blog (with or without multisite), you should be able to run other CMS in mysite.com/cat1 and mysite.com/cat2 right?
    I think this may work on the first / main domain, as if the wordpress install files are physically in the folder which hosts your mysite.com domain, then I can’t see why you can’t put another cms in folders mysite.com/cat1 etc … if this is another network blog mapped to that main install with a domain mapping plugin may be more complicated

    ahh sorry I just read a bit closer your other post said if u put in the network root they appear for all domains mapped to the network? hmm, didnt realize u had more domains mapped

    anyway best of luck, lmk if any tips!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Creating folders at the root of a network site?’ is closed to new replies.