Title: Subdirectory Multisite 404 error
Last modified: August 21, 2016

---

# Subdirectory Multisite 404 error

 *  [ninjaface](https://wordpress.org/support/users/ninjaface/)
 * (@ninjaface)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/subdirectory-multisite-404-error/)
 * Hello. I’ve been having trouble with adding sites to my Multisite install. I’m
   using subdirectory. example.com works but example.com/site leads to a 404 error.
 * Starting with a fresh install of WordPress I added this line to wpconfig.php
 *     ```
       /* Multisite */
       define( 'WP_ALLOW_MULTISITE', true );
       ```
   
 * After setting up Multisite through the dashboard I followed the directions adding
   this to wpconfig.php (under the first line I added)
 *     ```
       define('MULTISITE', true);
       define('SUBDOMAIN_INSTALL', false);
       define('DOMAIN_CURRENT_SITE', 'example.com');
       define('PATH_CURRENT_SITE', '/');
       define('SITE_ID_CURRENT_SITE', 1);
       define('BLOG_ID_CURRENT_SITE', 1);
       ```
   
 * then I replaced the existing lines in .htaccess, so that it now has this
 *     ```
       # BEGIN WordPress
       RewriteEngine On
       RewriteBase /
       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]
       # END WordPress
       ```
   
 * After doing this and setting up the first site in the network I get the 404 error
   when trying to edit or view that site.
 * I’m using shared hosting through Godaddy. Been reading other posts but still 
   confused with the problem. Should I be using a domain mapping plugin to redirect
   the subdirectory site? WordPress is installed in the root. I have other sites
   on the same hosting account, could that be the problem?

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

 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [12 years, 6 months ago](https://wordpress.org/support/topic/subdirectory-multisite-404-error/#post-4403498)
 * What does the 404 look like? Is it styled like your main site?
 *  Thread Starter [ninjaface](https://wordpress.org/support/users/ninjaface/)
 * (@ninjaface)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/subdirectory-multisite-404-error/#post-4403538)
 * It is not styled like the main site. It is the godaddy 404 error page that says
   ever feel like you’re in the wrong place?
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [12 years, 6 months ago](https://wordpress.org/support/topic/subdirectory-multisite-404-error/#post-4403539)
 * Well… THAT is weird.
 * Sounds like something on their server is cached, or not redirecting. With WP,
   even with a Subfolder/subdirectory install of WP, it should give you the WP themed
   one.
 * Tell GoDaddy – The subfolder isn’t even hitting WP!
 *  [Kurt Payne](https://wordpress.org/support/users/kurtpayne/)
 * (@kurtpayne)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/subdirectory-multisite-404-error/#post-4403549)
 * ninjaface, hit me up at kpayne -at- godaddy.com with your domain and I’ll take
   a look.

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

The topic ‘Subdirectory Multisite 404 error’ is closed to new replies.

## Tags

 * [404-error](https://wordpress.org/support/topic-tag/404-error/)
 * [godaddy](https://wordpress.org/support/topic-tag/godaddy/)
 * [multisite](https://wordpress.org/support/topic-tag/multisite/)
 * [subdirectory](https://wordpress.org/support/topic-tag/subdirectory/)

 * In: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
 * 4 replies
 * 3 participants
 * Last reply from: [Kurt Payne](https://wordpress.org/support/users/kurtpayne/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/subdirectory-multisite-404-error/#post-4403549)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
