Server Fault is a question and answer site for system and network 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

One of the clients that I maintain requests a website redesign, we do all the work in a subfolder /newsite/ and they intend to make it live this instant. The /newsite/ is made in wordpress and from my understanding WP keeps all the URL's as they were initially created. Would it be easier to just create the new root dir at /newsite/ or move all contents of the root to /oldsite/ and move /newsite/ to the root?

Please advise the best route, i.e. mod_rewrite.

share|improve this question

If i understood well, why cannot you just change the documentroot?

share|improve this answer
Good idea, however I do not have access to the apache config file, as it is not hosted under myself. – Austin May 17 '10 at 13:48
up vote 0 down vote accepted

Luckily, WordPress has very good documentation:

share|improve this answer

For these sorts of applications, when running on Linux, I have just created a symbolic link for the root directory in the past. Then when it is time to switch I just change where the symbolic link points.

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.