Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Currently I have my WordPress up and running fine on the root folder of my production server. Now I would like to copy almost everything (except database and url) into other folder for testing purpose, lets say /newsite.

  1. What's the most convenient way to do this ?
  2. Do I have to play with the .htaccess file ? At this moment I don't even use this file on the production server, Is this bad ?
  3. Will Wordpress multisite be able to separate production and development site ? How about the database separation ?

Basically in the end I would want to have

  • www.mydomain.com as the main site

  • www.mydomain.com/newsite as the testing site

I have full access with FTP. Any help is greatly appreciated.

share|improve this question
    
codex.wordpress.org/Giving_WordPress_Its_Own_Directory This may help you. –  Vinod Dalvi Aug 26 '13 at 7:31

1 Answer 1

up vote 0 down vote accepted

If you want to move wordpress you should this: http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

I guess you want to create a development environment, and because you never edit core files of Wordpress you don't have to copy Wordpress itself because the only thing you are changing is the theme folder. And you don't want to install Wordpress a second time in a sub-directory so maybe you should try creating a sub-domain: http://semperfiwebdesign.com/blog/setting-up-a-wordpress-development-environment-on-your-hosted-server/

share|improve this answer
    
I will need to change the content and theme of the development website without affecting the production site. Is this the one I am looking for ? –  abiieez Aug 26 '13 at 7:49
    
Yeah, download the theme folder you are using. Then install the same version of Wordpress on the sub-domain. When you finish your development version you can install only the theme on the production environment so you can switch the theme on and off so you will always have a fall-back. –  Remi Aug 26 '13 at 8:20
    
That is how I use it anyway. And for full safety I also use a version control system. That would be the next step. Open this page, and search for the head "The Environments": wp.tutsplus.com/articles/general/… –  Remi Aug 26 '13 at 8:23

Your Answer

 
discard

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.