Title: Issues with wordpress on subdirectory
Last modified: August 12, 2018

---

# Issues with wordpress on subdirectory

 *  [Martino](https://wordpress.org/support/users/martinopelupessy/)
 * (@martinopelupessy)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/issues-with-wordpress-on-subdirectory/)
 * Hi,
 * I made a wordpress website and installed in onto a subdirectory (/wordpress/)
   
   Now that the site is done I want it to show up in the root domainname.
 * I got everything working sofar. Every page is showing like i should be except
   the actual homepage. I’m already trying for hours but can’t seem to figure it
   out.
 * Hope someone can help me with this!

Viewing 1 replies (of 1 total)

 *  Thread Starter [Martino](https://wordpress.org/support/users/martinopelupessy/)
 * (@martinopelupessy)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/issues-with-wordpress-on-subdirectory/#post-10581810)
 * For some reason when I go to the homepage it still shows the subdirectory in 
   the URL. But only does it for the homepage all other pages are fine.
 * **htaccess file in the root folder**
 *     ```
       <IfModule mod_rewrite.c>
       RewriteEngine on
       RewriteCond %{HTTP_HOST} ^(www.)?f4efootball.com$
       RewriteCond %{REQUEST_URI} !^/wordpress/
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteRule ^(.*)$ /wordpress/$1
       RewriteCond %{HTTP_HOST} ^(www.)?f4efootball.com$
       RewriteRule ^(/)?$ wordpress/index.php [L] 
       </IfModule>
       ```
   
 * **htaccess file in the root subdirectory folder**
 *     ```
       <IfModule mod_rewrite.c>
       RewriteEngine On
       RewriteBase /
       RewriteRule ^index\.php$ - [L]
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteRule . /index.php [L]
       </IfModule>
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘Issues with wordpress on subdirectory’ is closed to new replies.

## Tags

 * [Install](https://wordpress.org/support/topic-tag/install/)
 * [installation](https://wordpress.org/support/topic-tag/installation/)
 * [subdirectory](https://wordpress.org/support/topic-tag/subdirectory/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [Martino](https://wordpress.org/support/users/martinopelupessy/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/issues-with-wordpress-on-subdirectory/#post-10581810)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
