• I had to buy a new laptop (MacBook) because the old one (Dell) keeps “crashing”.

    However, since I created my website on the localhost of the Windows PC, I have been trying to move the website from the old localhost (Windows) to the new one (Mac). At first I thought this could work like moving the website from the localhost to a domain, but I fail miserably.

    Does anyone here know how I can move a localhost website from a Windows computer to a MacBook?

    I would like to continue editing the website on the MacBook.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Jose Castaneda

    (@jcastaneda)

    THEME COFFEE MONKEY

    Hi there,

    This is a bit of a loaded question because it could vary depending on your comfort level. There are a few things that come to mind though and I’m not sure if you’ve seen this page: https://make.wordpress.org/core/handbook/tutorials/installing-a-local-server/#which-local-server-should-i-install

    The ones that come to mind are Local by Flywheel, Docker, VVV which are also mentioned on the page above. One that isn’t mentioned is Lando (https://docs.lando.dev/wordpress/) I have no personal experience with that one but have heard some good things about it.

    Hopefully that helps you a bit.

    Thread Starter kxddy

    (@kxddy)

    Hello,
    thank you very much for your quick reply.

    I use XAMP on both laptops.
    However, my question was not so much about the server, but how to import the wordpress website from the Windows computer to the MacBook.

    Or in other words:
    How do I move a wordpress website from one computer with a server to another computer?

    Or did I misunderstand you?

    Moderator Jose Castaneda

    (@jcastaneda)

    THEME COFFEE MONKEY

    Ah got it.

    Well, if you have a USB drive handy you might be able to copy the PHP files from one computer to the other and you might be able to export the database as well using phpmyadmin or even use a backup plugin to export the site and then import it on the new computer

    Thread Starter kxddy

    (@kxddy)

    And how would I be able to connect the copied file to the new database?
    Because I have copied the file to the new Computer under XAMP and hotdogs.
    But I haven’t been able to connect the file, so I can open it with WordPress – ergo I can’t edit the site.

    this looks like you want to do a server site migration, except one server is a Windows machine and the other is a Mac and both are physically in front of you instead of in a data centre.

    Aside from the place you’re connecting to the steps are all the same, you need to export your database and get a copy of your files, take those to the new machine, and import the database and files. There are thousands of tools to do that and no one single correct method

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to switch a WordPress site from windows to Mac’ is closed to new replies.