Support » Plugin: Networks for WordPress » [Plugin: Networks for WordPress] subdirectory problem with multisite/networks for wordpress

  • I have a fresh install of wordpress multisite, set up to use subdirectories, not subdomains.

    All things like .htaccess are configured, the relevant definitions removed from the wp-config.php file etc etc

    I create a new network with a path of /network/, that works fine. But when I add a site to the network, if I do this from a dashboard outside the intended network and then move the site into the intended network (i.e. the first parent network) using the ‘assign sites’ utility, the site is given a path of /network/sitename. This doesn’t seem to work, lots of broken file links, broken theme etc. (doesn’t seem to be able to find the files, as well as various other things) Should it be capable of assigning such a path or is it wrong to assign such a path to the site in the first place?

    When I add a site when logged into the intended network, the url is made just /sitename and the network name doesn’t form part of the url. Is this the correct behaviour?

Viewing 1 replies (of 1 total)
  • Plugin Author David Dean


    Prepending the network’s path to the site’s path is expected behavior. WordPress makes the site’s URL from its domain and path, not including the underlying network’s path.

    I set up a new WP install with a single network in a sub directory and added a new site, and WP included the network’s path in the new site’s path.

    Check your $BASE and RewriteBase to make sure they aren’t trying to route requests to a path that doesn’t work for your secondary network.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Networks for WordPress] subdirectory problem with multisite/networks for wordpress’ is closed to new replies.