Title: Subfolder site problem
Last modified: August 30, 2016

---

# Subfolder site problem

 *  Resolved [kaskarino](https://wordpress.org/support/users/kaskarino/)
 * (@kaskarino)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/subfolder-site-problem/)
 * I have enabled multisite (mydomain.gr) and I created a subfolder site (mydomain.
   gr/el), but it doesn’t work. The main site works fine, but the subfolder gives
 *     ```
       Index of...
   
       *Parent Directory
       *cgi-bin/
   
       Apache Server at "mydomain" Port 80
       ```
   
 * I have added these to wp-config:
 *     ```
       /* Multisite */
       define('WP_ALLOW_MULTISITE', true );
       define('MULTISITE', true);
       define('SUBDOMAIN_INSTALL', false);
       define('DOMAIN_CURRENT_SITE', 'chioshiking.gr');
       define('PATH_CURRENT_SITE', '/');
       define('SITE_ID_CURRENT_SITE', 1);
       define('BLOG_ID_CURRENT_SITE', 1);
       ```
   
 * and this is the .htaccess:
 *     ```
       # BEGIN WPSuperCache
       # END WPSuperCache
   
       # BEGIN WordPress
       <IfModule mod_rewrite.c>
       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]
       </IfModule>
   
       # END WordPress
       ```
   
 * what am i doing wrong? Any advise?

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

 *  [Axel13](https://wordpress.org/support/users/axel13/)
 * (@axel13)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/subfolder-site-problem/#post-6440528)
 * Just guessing… Did you perhaps create a folder with that name? If yes, there 
   is no need to do this.
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [10 years, 8 months ago](https://wordpress.org/support/topic/subfolder-site-problem/#post-6440637)
 * Give the folder has cgi-bin I’m going to guess it’s cPanel, and you made the 
   subdomain point to it’s own folder instead of public_html.
 *  Thread Starter [kaskarino](https://wordpress.org/support/users/kaskarino/)
 * (@kaskarino)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/subfolder-site-problem/#post-6440659)
 * Thanks everybody. Issue is solved. I totally removed multisite and then reenabled
   it, but this time i chose subdomain option and now everything looks fine.

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

The topic ‘Subfolder site problem’ is closed to new replies.

## Tags

 * [subfolder](https://wordpress.org/support/topic-tag/subfolder/)

 * In: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
 * 3 replies
 * 3 participants
 * Last reply from: [kaskarino](https://wordpress.org/support/users/kaskarino/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/subfolder-site-problem/#post-6440659)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
