• I was to migrate my website from local to a live server, I used note++ and edited the wp-config.php changing the localhost/website name for the real domain I was about to use.
    Something went wrong on the upload and now I need to make some changes.
    Now everytime I type the localhost thing takes me to the live domain page and I need to reverse the process in order to work again on the localhost.
    Any Ideas??

Viewing 5 replies - 1 through 5 (of 5 total)
  • Do you have the location in settings => general as the live sites url or local host?

    Thread Starter TravelHelper

    (@travelhelper)

    I worked everything on WAMP at first, I was trying to upload from localhost to live server. Watching some tutorial I went to the dashbord settings and changed the url from the localhost to the one I have to use on the live server (my domain). Since I changed that I try to reverse what I have done but now I can’t get in into the localhost installation on WAMP to fix what I need to upload the website again.

    You can always fix if directly inside your db

    Further to what herrington1 mentions:

    – from the WAMP control panel, open phpMyAdmin
    – select and expand the database for the WordPress site from the list on the left (the name will be whatever you gave it during the initial install)
    – select the wp_options table from the expanded list
    – look for and edit the values for these two fields:

    siteurl and home

    The values for both should be:

    http://localhost/folder_name_of_local_site (e.g. wordpress)

    Thread Starter TravelHelper

    (@travelhelper)

    Thank you @lylechamney
    Finally I could fix it

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘How to get back to work on localhost’ is closed to new replies.