Why It’s Important to Install WordPress on Localhost.I have also covered detailed comparison with pros and cons, so that you can choose a suitable application for yourself. I have covered installation process for all platforms. Therefore I thought to write a guideline for my readers so that from beginner to professional, everyone can easily install WordPress on localhost. It was very easy and straightforward process.Īnyways, as I faced these issues while installing WordPress on localhost and now one of my new colleagues is facing the same issues. Asasuzzaman Abir helped me with some tips and then I became successful installing WordPress on localhost. I was getting an error message saying – ‘error establishing a database connection wordpress localhost xampp.There are tons of guides available on the internet, however most of them were hard for me to understand.Īt last my colleague Md. I searched the internet with the term ‘how to install WordPress on localhost’ and tried to install WordPress by following one of the guide. Did you know that is possible to create a local development environment for WordPress so you don’t have to work on a live site?įor many years I developed on a live version of WordPress because I didn’t know it was possible to do it another way.At the beginning of my career I tried to install WordPress locally but failed terribly.Īs you know that I’m a writer and my favorite platform is WordPress, therefore I planned to install and explore WordPress. So discovering that there was a tool that would make it super easy to work with WordPress locally was a complete game changer. ![]() ![]() There are many benefits of using a local development environment. It’s safer because it means you aren’t messing around with the code of a live site, so if you mess up it’s not the end of the world. It’s also much quicker as you don’t have to upload changes via FTP, and there’s less issues with caching. In this post I’ll show you how to easily set up a local development environment for WordPress using a tool called Local by Flywheel.ġ | Download and install Local by Flywheel I also love the fact that you don’t need internet access to work on a local version of your website, which is great if you need some distraction free coding time (just turn off your WiFi and get cracking!), or if you have terrible internet like me (hurry up and install fibre, Openreach!). To set up our local development environment we are going to be using a tool called Local by Flywheel. It’s complete free to download and very easy to use. The homepage looks a little something like this: So, start by heading over to the Local by Flywheel website. This will open a box where you should select which platform you are using (Windows or Mac) and enter your details (you only really need to enter your email address and the number of websites you plan on using). When you are ready, click Get it now! to start the download. It may take some time for it to download, especially if you have terrible internet, like me! Once Local by Flywheel has finished downloading, click on the file to begin the installation. You may be prompted allow changes to your computer throughout this process.Įventually you will see a screen that looks like this. All you need to do here is click Let’s Go! and wait for the installation to run. It may take some time, so grab yourself a coffee or something! 2 | Set up a local WordPress websiteĪfter Local by Flywheel has finished installing you can set up your first local WordPress website. You will see a screen that looks like this:Ĭlick Create A New Site to set up your first local site. You will be asked to give your website a name. This can be what ever you like, but you should ensure that it’s relevant. When you’re done, click Continue in the bottom right hand corner. ![]() Next, you will be asked to choose your environment (i.e. I’m going to choose Preferred as I’m happy with the settings as they are, but you can choose Custom and choose your own.Įither way, when you are done click Continue.įinally, you will need to choose a username, password and email address for your WordPress website. Again, these can be anything you like but you should make a note of them because you will need them to log into WordPress later. It may take a few seconds for your website to be added.Įventually you will see a screen that looks like the one below. On the left hand side you have a list of your local sites, and if you click on them you will able to see more details about them. To view the local website you have just set up, click on View Site.
0 Comments
Leave a Reply. |