• Hello everyone

    I am trying to make a local copy of a live WordPress site. I already have a number of local sites, which I access with MAMP. It works perfectly.

    But now, I would like to move a live site to my local server and it will not work.

    I followed this excellent tutorial: https://managewp.com/how-to-create-a-local-copy-of-a-live-wordpress-site

    I copied all files through Filezilla Client and put it here: /Users/signeebbesen/Documents/Websites/site-name/www

    MAMP is set up to look in the websites folder: /Users/signeebbesen/Documents/Websites

    I exported the live database through PhpMyAdmin, I created a local database, selected it and imported the newly exported database into the local one.

    I changed the ‘siteurl’ and the ‘home’ to reflect the new location of the site. I’m a little bit unsure of whether the ‘home’ was the right one, since it said /old in its url… but I couldn’t find any other ‘home’

    Now, when I access my other local sites, the url says: https://localhost:8888/site-name/www/ and it works fine!

    When I try to access this new site the url goes: https://localhost/site-name/www/
    -> the :8888 is not there and the browser comes up with an error.

    Would any of you know what I could have done wrong?

    Thanks in advance!
    – Signe

Viewing 1 replies (of 1 total)
  • I’d try the following:

    In MAMP go to
    Preferences > Ports
    and change
    Apache Port from 8888 to 80.

    This will allow all your sites to load without the :8888, including your WordPress site.

Viewing 1 replies (of 1 total)
  • The topic ‘Local copy of live site’ is closed to new replies.