Title: WP Multi-Network Multisite 404 Error
Last modified: August 22, 2016

---

# WP Multi-Network Multisite 404 Error

 *  [edgarl](https://wordpress.org/support/users/edgarl/)
 * (@edgarl)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/wp-multi-network-multisite/)
 * Hello, I have a problem with wordpress multisite instalation. I am trying to 
   build multi network site (one wordpress instalation has multiple networks with
   multiple sites each) using a WP Multi-Network plugin.
 * Structure would like something like this:
    Main domain – milasmagija.lv WP instalation
   dir. – milasmagija.lv/i WP Network dir – milasmagija.lv/i/triks WP Network’s 
   site dir – milasmagija.lv/i/triks/a
 * But for some reason it isn’t working. The main site in the new network (which
   is created in the same step as the network itself) is working, but when I add
   a new site to the newly created network it keeps displaying 404 error, saying“
   Oops! That page can’t be found.”
 * Neither the admin panel of the subsite is working, or the subsite it self. It’s
   like they wouldn’t exist.

Viewing 13 replies - 1 through 13 (of 13 total)

 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [11 years, 4 months ago](https://wordpress.org/support/topic/wp-multi-network-multisite/#post-5669953)
 * > using a WP Multi-Network plug
 * Which one?
 * Are you running WP out of it’s own folder? If so, the network dir would be milasmagija.
   lv/triks (no i)
 *  Thread Starter [edgarl](https://wordpress.org/support/users/edgarl/)
 * (@edgarl)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/wp-multi-network-multisite/#post-5669954)
 * This one:
    [https://wordpress.org/plugins/wp-multi-network/](https://wordpress.org/plugins/wp-multi-network/)
 * WordPress is installed in a folder named “i”.
 * After installing the multi-network plugin, the wordpress intallation folder (
   i), turns into the base network. Every newly added network comes after the slash(
   i/triks). The problem is that sites inside the newly added network doesn’t work.
   A site would be milasmagija.lv/i/triks/a
 * PS. I’am using Hostgator. Tried asking them. No answer yet.
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [11 years, 4 months ago](https://wordpress.org/support/topic/wp-multi-network-multisite/#post-5669956)
 * I honestly don’t know if anyone’s tried WP in it’s own directory and Multinetwork…
 * Even though WP is installed in i, since it’s running from milasmagija.lv the 
   URL for the triks site SHOULD be milasmagija.lv/triks UNLESS you mean that ‘main
   domain’ is just the domain you’re using.
 * In general, if you say that you have a ‘main domain’ you mean WP is running from
   there… It looks like not.
 * So okay, I misunderstood. Sorry about that.
 * `http://milasmagija.lv/i/triks/a/wp-login.php` works… What happens if you change
   permalinks on the triks site?
 *  Thread Starter [edgarl](https://wordpress.org/support/users/edgarl/)
 * (@edgarl)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/wp-multi-network-multisite/#post-5669959)
 * Yea, sorry about that. It’s just a domain I’am using. Updated parmalinks and 
   it had no effect.
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [11 years, 4 months ago](https://wordpress.org/support/topic/wp-multi-network-multisite/#post-5670014)
 * What’s in your .htaccess?
 *  Thread Starter [edgarl](https://wordpress.org/support/users/edgarl/)
 * (@edgarl)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/wp-multi-network-multisite/#post-5670023)
 *     ```
       RewriteEngine On
       RewriteBase /i/
       RewriteRule ^index\.php$ - [L]
   
       # add a trailing slash to /wp-admin
       RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
   
       RewriteCond %{REQUEST_FILENAME} -f [OR]
       RewriteCond %{REQUEST_FILENAME} -d
       RewriteRule ^ - [L]
       RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
       RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
       RewriteRule . index.php [L]
       # BEGIN WordPress
       <IfModule mod_rewrite.c>
       RewriteEngine On
       RewriteBase /i/
       RewriteRule ^index\.php$ - [L]
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteRule . /i/index.php [L]
       </IfModule>
   
       # END WordPress
       ```
   
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [11 years, 4 months ago](https://wordpress.org/support/topic/wp-multi-network-multisite/#post-5670043)
 * Okay so WordPress told you to _replace_ your .htaccess rules. You added to them.
 *     ```
       # BEGIN WordPress
       <IfModule mod_rewrite.c>
       RewriteEngine On
       RewriteBase /i/
       RewriteRule ^index\.php$ - [L]
   
       # add a trailing slash to /wp-admin
       RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
   
       RewriteCond %{REQUEST_FILENAME} -f [OR]
       RewriteCond %{REQUEST_FILENAME} -d
       RewriteRule ^ - [L]
       RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
       RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
       RewriteRule . index.php [L]
       </IfModule>
   
       # END WordPress
       ```
   
 *  Thread Starter [edgarl](https://wordpress.org/support/users/edgarl/)
 * (@edgarl)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/wp-multi-network-multisite/#post-5670075)
 * Well, I replaced it with your version and it still doesn’t work. I could give
   you my login details, so you can look with your own eyes what’s happening.
 *  Thread Starter [edgarl](https://wordpress.org/support/users/edgarl/)
 * (@edgarl)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/wp-multi-network-multisite/#post-5670095)
 * Ok, so Hostgator finally answered. Here is what they said:
 *     ```
       One thing I can confirm is that the request is getting handled by WordPress instead of Apache, which is what you would want to happen. I have been unable to identify why the 404 page is occurring, however it is very likely related to the wp-config.php settings, as these appear to be the ones you would use for a multi-site installation, but not a multi-network installation. 
   
       * Multisite */
       define( 'WP_ALLOW_MULTISITE', true );
       define('MULTISITE', true);
       define('SUBDOMAIN_INSTALL', false);
       //define('DOMAIN_CURRENT_SITE', 'milasmagija.lv');
       define('PATH_CURRENT_SITE', '/i/');
       define('SITE_ID_CURRENT_SITE', 1);
       define('BLOG_ID_CURRENT_SITE', 1);
       ```
   
 * So is my wp-config settigs correct?
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [11 years, 4 months ago](https://wordpress.org/support/topic/wp-multi-network-multisite/#post-5670098)
 * Hostgator… You doofus.
 * > One thing I can confirm is that the request is getting handled by WordPress
   > instead of Apache, which is what you would want to happen. I have been unable
   > to identify why the 404 page is occurring, however it is very likely related
   > to the wp-config.php settings, as these appear to be the ones you would use
   > for a multi-site installation, but not a multi-network installation.
 * The request is too being handled by Apache. That was really poorly worded. Yes,
   you want the request to be handled by WordPress, but WordPress is using Apache.
   Semantics. ARUGH. THIS is why users get confused!
 * Ignore HostGator. They don’t understand Multisite apparently.
 * Okay let’s step back
 * [http://milasmagija.lv/i/triks/](http://milasmagija.lv/i/triks/) – This shows
   it’s own site (yay)
 * [http://milasmagija.lv/i/triks/a/](http://milasmagija.lv/i/triks/a/) – This shows
   a 404 that matches tricks
    [http://milasmagija.lv/i/triks/a/wp-admin](http://milasmagija.lv/i/triks/a/wp-admin)–
   Ditto
 * Can you screenshot what the multinetwork panel looks like? The one where you 
   set up the sub-subsite?
 *  Thread Starter [edgarl](https://wordpress.org/support/users/edgarl/)
 * (@edgarl)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/wp-multi-network-multisite/#post-5670102)
 * Sure
    [http://postimg.org/image/4qunmm2x9](http://postimg.org/image/4qunmm2x9)
   [http://postimg.org/image/nhwkwrxhp](http://postimg.org/image/nhwkwrxhp) [http://postimg.org/image/wfhau4pxp](http://postimg.org/image/wfhau4pxp)
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [11 years, 4 months ago](https://wordpress.org/support/topic/wp-multi-network-multisite/#post-5670108)
 * /i/triks/ is _BOTH_ a subsite AND a network. How did that happen? It shouldn’t
   show up on both…
 *  Thread Starter [edgarl](https://wordpress.org/support/users/edgarl/)
 * (@edgarl)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/wp-multi-network-multisite/#post-5670109)
 * Well, when creating a new network wordpress creates a site too.
    [http://s14.postimg.org/9l67hls6p/Untitled.png](http://s14.postimg.org/9l67hls6p/Untitled.png)
   [http://s21.postimg.org/d87t4guxz/Untitled2.png](http://s21.postimg.org/d87t4guxz/Untitled2.png)

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘WP Multi-Network Multisite 404 Error’ is closed to new replies.

## Tags

 * [multi-network](https://wordpress.org/support/topic-tag/multi-network/)
 * [multisite](https://wordpress.org/support/topic-tag/multisite/)

 * In: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
 * 13 replies
 * 2 participants
 * Last reply from: [edgarl](https://wordpress.org/support/users/edgarl/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/wp-multi-network-multisite/#post-5670109)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
