treehouse : what would you like to learn today?
Web Design Web Development iOS Development

setting up a staging site from a CMS

  • I am about to do my first project using a CMS. I will probably use Wordpress.

    Though I need to set up a staging site before everything is uploaded and live.
    How does this work? When you upload the wordpress file via FTP, the wp-config.php file needs to be in the root directory...but I want to set up a staging folder within the root before the site goes live.

    Any suggestions on how this works?
    Thanks
  • The "root" can be whatever you choose it to be!

    For example, you may want to do:

    www.your-domain.com/dev/

    The /dev/ folder would be your root.
  • I am interested in this as well. Once you are done testing the site in the dev folder, how do you take it back to the live root folder? Thank you.
  • The way you ask that question doesn't relate to how I use wordpress. If you are developing a theme, then "taking it back to the live root folder" means moving the theme folder across via ftp. If it is plugin development, then wordpress already has a means of installing plugins. If it is content, then wordpress has an exporter/importer. What are you wanting to move?