WordPress.org

Ready to get started?Download WordPress

Forums

using local version to experiment after uploading site (5 posts)

  1. David996911
    Member
    Posted 1 year ago #

    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?

  2. keesiemeijer
    moderator
    Posted 1 year ago #

    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

  3. David996911
    Member
    Posted 1 year ago #

    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??

  4. keesiemeijer
    moderator
    Posted 1 year ago #

    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.

  5. David996911
    Member
    Posted 1 year ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.