WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My client has a very bare bones host who would not allow installation of WP. They insisted on doing it and in that process installed the files in a subfolder rather than at the top level.

The question is, can I simply move the file to the top level and expect WP to run, or is there pathway information in the database?

share|improve this question

You can follow the Wordpress docs and leave Wordpress in a directory but have it appear to be in root. See http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory#Using_a_pre-existing_subdirectory_install

This will correctly change the location in the database. This might be the best way to go if the host requires Wordpress to be in a subfolder for some reason.

enter image description here

Or, you can move all the files to root. See http://codex.wordpress.org/Moving_WordPress This link also includes recovery information in case you make mistakes in the move.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.