Title: Subdirectory Install issue
Last modified: August 21, 2016

---

# Subdirectory Install issue

 *  [trsstudios](https://wordpress.org/support/users/trsstudios/)
 * (@trsstudios)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/subdirectory-install-issue/)
 * Hey all,
 * I’m having an issue I hope someone could help me with.
 * First the details:
 * Domain: trs-studios.com
 * 1. Godaddy managed wordpress hosting
    2. Wp installed in /main directory 3. root
   has HTML landing page (coming soon)
 * This is temporary while i design the site. Once I’m done, WP moves back to root
   and I can get rid of the landing page.
 * The issue I am having is this;
 * I am able to access the wp-admin by going to **trs-studios.com/main/wp-admin**
 * But trying to access **trs-studios/main/** brings up:
 * _“Warning: require(/home/content/20/2053120/html/main./main/wp-blog-header.php)…”_
 * I have made sure that i properly edited the index.php file in the new wp install
   directory
 * When moving wp from root to the new directory, the instructions said that the
   index.php and .htaccess files should be copied to the root directroy from the
   new wp subdirectory.
 * Now when I moved my html landing page to the root directory, i read that i could
   not have both index.html and index.php in the same directory. So i removed the
   index.php file from the root.
 * Landing page loads fine, and again I am able to access wp-admin on the new subdirectory
   wp install.
 * What am i doing wrong?

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

 *  [pvashist75](https://wordpress.org/support/users/pvashist75/)
 * (@pvashist75)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/subdirectory-install-issue/#post-4559410)
 * Just try to check your .htaccess file. I don’t think you need to edit default
   index files.
 * If you are able to access admin then try to check the site url in the settings
   but most probably you need to check the .htaccess for correct url or directory
   path.
 * well the url you mentioned is showing nothing
 *  Thread Starter [trsstudios](https://wordpress.org/support/users/trsstudios/)
 * (@trsstudios)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/subdirectory-install-issue/#post-4559434)
 * Thanks for your reply.
 * What do you mean the url is showing nothing?
 * trs-studios.com? It’s coming up fine here. What browser are you using?
 * This is what’s in the .htaccess file:
 * # BEGIN WordPress
    <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule
   ^index\.php$ – [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME}!-
   d RewriteRule . /index.php [L] </IfModule>
 * # END WordPress
 * See anything wrong?

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

The topic ‘Subdirectory Install issue’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [trsstudios](https://wordpress.org/support/users/trsstudios/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/subdirectory-install-issue/#post-4559434)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
