Title: subfolder doesn&#039;t exist
Last modified: August 20, 2016

---

# subfolder doesn't exist

 *  Resolved [dorevanduivenbode](https://wordpress.org/support/users/dorevanduivenbode/)
 * (@dorevanduivenbode)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/subfolder-doesnt-exist/)
 * When first installing wordpress I wanted to have the wordpress files uploaded
   to a subdirectory of my database, so I did. Later on, when figuring out how to
   create the rest of the static site proved to be impossible to understand, I deleted
   all files from the database in order to start over. Next I uploaded the wordpress
   files to the root directory of my database and tried to continue the installation,
   as I did before. However, this time, when logging in via [http://www.domainname.com/wp-login.php](http://www.domainname.com/wp-login.php),
   I automatically get redirected to [http://www.domainname.com/subdirectory/wp-login.php](http://www.domainname.com/subdirectory/wp-login.php).
 * What is the problem?

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

 *  [govpatel](https://wordpress.org/support/users/govpatel/)
 * (@govpatel)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/subfolder-doesnt-exist/#post-2303793)
 * In settings general you need to change urls to your domain name if you have wordpress
   files and folders in root.
 * [http://codex.wordpress.org/Changing_The_Site_URL#Changing_the_URL_directly_in_the_database](http://codex.wordpress.org/Changing_The_Site_URL#Changing_the_URL_directly_in_the_database)
 *  Thread Starter [dorevanduivenbode](https://wordpress.org/support/users/dorevanduivenbode/)
 * (@dorevanduivenbode)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/subfolder-doesnt-exist/#post-2303848)
 * Thats only possible when you can log in of course. The answer came from some 
   google-search site (or post?) about phpMyAdmin and changing the options of my
   database. Thanks anyway.

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

The topic ‘subfolder doesn't exist’ is closed to new replies.

## Tags

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

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 2 replies
 * 2 participants
 * Last reply from: [dorevanduivenbode](https://wordpress.org/support/users/dorevanduivenbode/)
 * Last activity: [14 years, 8 months ago](https://wordpress.org/support/topic/subfolder-doesnt-exist/#post-2303848)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
