netgrrl2
Member
Posted 3 years ago #
HI,
I would like to upload a demo version of the client's wordpress site in a subdirectory. When approved I would like to move it to the root directory. Will this cause any issues with database connectivity etc if I simply move the files down one level?
thanx
Jane
sorry for dumb Q :(
You don't have to move anything as the ability to run WP as if its in the root folder when the files are in a subfolder is already built into WP. See this article
http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory
When you read the article, remember it was written for someone who had installed WordPress in the root folder and now wants to move it into a subdirectory. Your situation will be the reverse, but the solution is the same.
Just ignore steps one and six, and do the rest of them
Make sure you back up your database before doing any of the steps.
You should be all set.