Support » Fixing WordPress » using local version to experiment after uploading site

  • Might seem like a daft question but:

    I have been developing on MAMP and have now uploaded the site to the remote server.

    Of course before doing so I changed the details in the Dashboard settings>general

    Now i want to be able to use the local version for experimenting without breaking the live site.

    I opened MAMP and opened the local version of my site.
    However, when I went to change the details back to localhost in settings, I realised that the dashboard page I was working with, appeared to be the remote one. If I change those settings I am presumably changing them on the remote server.

    How do I now segregate the remote version from the local version?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator keesiemeijer

    (@keesiemeijer)

    If I change those settings I am presumably changing them on the remote server.

    yes, dont change them there.

    Try setting the urls to your local site in your (local) theme’s functions.php:
    http://codex.wordpress.org/Changing_The_Site_URL#Edit_functions.php

    Hi Keesiemeijer,

    Thank you for your reply

    I obviously have the exported database file, but that was done after the change in dashboard settings.

    I have a complete Mac “Time Machine” back up from the day before I uploaded the site. If I restore all the backed up content of MAMP folders (wordpress and database) over the existing, will that solve my issue??

    Moderator keesiemeijer

    (@keesiemeijer)

    If I restore all the backed up content of MAMP folders (wordpress and database) over the existing, will that solve my issue??

    Yes it will.

    Just to be sure make a backup of your local database you have now before restoring to the old one.

    Hi Keesiemeijer,

    thank you very much indeed.

    As i mentioned i do have a back up of the local database (the export file i made to import into the remote server) but which was made after I had made the changes in dashboard.

    I am not concerned about the local database being uptodate, or mirroring the live database, as the local platform will now be just for experimentation

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘using local version to experiment after uploading site’ is closed to new replies.