Problems running wordpress "staging" site. (3 posts)

  1. Raveguru
    Posted 7 years ago #


    I have set up a staging site which is a direct copy of my original site. They are both on two separate FTP's. In the functions.php file on the copied version i put:


    Otherwise it would just throw me back to the URL of my original site and that kind of defies the point of having a "staging" site.

    My problem is this. Everything i change in the back-end of the "copied" version changes in the "original" version as well despite the fact that i have modified the functions.php file. This leads me to think that the files i copied accross from the original site has settings that needs to be changed. I need to keep them seperate for development reasons.

    I'm sorry if this is a bit unclear. Any questions i will try to answer to the best of my ability.

    Any help is greatly appreciated


  2. Samuel B

    Posted 7 years ago #

    The files have nothing to do with content - that is all stored in the database. So, if you didn't change the table prefix in wp-config.php, you have both installs accessing the same database tables - not good.

  3. Raveguru
    Posted 7 years ago #

    Samboll you are a genius. I had no idea the settings were stored in the database i thought it was written to setting files upon installation.

    Thanks a lot for your help.


Topic Closed

This topic has been closed to new replies.

About this Topic