Divi: the easiest WordPress theme to use
Divi: The best WordPress theme of all time!
With over 701.000 downloads, Divi is the most popular WordPress theme in the world. It is complete, easy to use and comes with more than 62 free templates. [Recommended]
Did you know that you can install and run a website from a USB flash drive? Well, it is possible, although it is not well known. A portable WordPress installation can actually be very useful.
Then let's get to work!
Why would you want to run WordPress from a flash drive? Shouldn't we classify this under the label of "stupid WordPress development stuff" which could have no educational value without application in a real situation? However, there are two scenarios where this " silly thing »Proves that it has merit for real situations:
- When you need to work on a local WordPress development project on more than one machine.
- When you want to distribute a copy of a website without going through hosting.
These two scenarios are not exhaustive, there may be several other situations.
To run WordPress you need a web server that offers two things: PHP and an appropriate database management system.
There is a long list of local development servers like XAMPP, MAMP, VVV, WAMP. While all of these options will do just fine when installed on a computer, we're looking for a portable solution that can be read on multiple devices.
After extensive research, or at least after extensive Google research, it seems to me that there are at least three server platforms in development that meet the minimum requirements to run WordPress and that can be installed and used from a flash drive:
- XAMPP Portable
- WordPress Instant
I installed all three options on a flash drive and installed WordPress for each server. So in this tutorial I will give you some guidance on how to set up a server on a USB drive in order to use WordPress.
It is interesting to note that these three options relate to Windows. There are options for Mac OS X, but that would be the subject of another tutorial.
XAMPP is the most robust and complete development system on this list and is primarily designed to be installed directly on a computer. As a result, the documentation available to help you install XAMPP on a flash drive is limited.
In fact, it is a lie. It is not limited. There is no documentation on installing XAMPP on a flash drive, just a scattered assortment of discussions and tutorials on S on other blogs across the web.
In fact the installation is quite easy.
To run XAMPP on a flash drive you must download the portable or light version of XAMPP rather than the standard edition. Access the area Apache Friends download.
Next, select XAMPP for Windows to bring up a list of XAMPP versions. Choose the version of XAMPP you want to install keeping in mind which version of PHP you want to install. 5.6.21 for example, refers to the version of PHP that ships with this edition of XAMPP.
Once you've selected a version of XAMPP, you'll be taken to a few download options. Select the downloadable file that includes the term "portable" and is executable (which ends with ".exe").
Easily create your website with Elementor
Elementor allows you to easily create any website design with a professional look. Stop paying expensive for what you can do yourself. [Free]
Once you've downloaded the installation file, you need to find and install it. When you run the installation file, be sure to select your flash drive as the installation location. Since I plan to do 3 installs, then I created 3 different folders in the flash drive.
Once XAMPP is installed on the flash drive, it will work as an XAMPP desktop installation.
Then you can install WordPress easily. With XAMPP running with Apache and MySQL running, you need to do four things:
- Access to phpMyAdmin by accessing the address http://localhost/phpmyadmin to create a new database.
- Drop a fresh WordPress installation into the htdocs directory of XAMPP.
- Edit the wp-config.php to attach WordPress to the database you just created.
- Modify the "max_execution_time" parameters of php.ini. The default is 30 seconds. Since we are installing from a flash drive, depending on the ports, the transfer rate may be insufficient. PHP will therefore need more time to run without generating errors. Remember to restart the XAMPP server after changing this value.
UwAmp is designed to be an easy-to-use server just as XAMPP is. It's a full PHP development environment, you can use it for WordPress or work with any other PHP and MySQL application.
A very nice feature offered by UwAmp is the ability to download, install and run different versions of PHP automatically from the UwAmp control panel. Developing with the same version of PHP that will be running on the web server is always a good idea, and UwAmp makes it possible. This feature is particularly useful for developers of WordPress plugins and themes who need to be able to test their products using a variety of versions of PHP.
The installation is simple. Go to the UwAmp website, go to downloads and select the installable version ".exe ". Once the download is complete, locate the downloaded installation file and run it making sure to select the flash drive as the installation location.
Once the installation is complete, open the folder where you installed the app and search for " UwAmp.exe ". Select and run this file to launch the UwAmp Control Panel.
If you have worked with XAMPP, WAMP, or any other local development server before, then you will recognize many of the options available in the UwAmp control panel. Here you can access phpMyAdmin, review and adjust PHP settings, start and stop MySQL and Apache, and much more.
Installing WordPress on UwAmp is exactly the same as on XAMPP.
« instant WordPress Is a solution specially designed to run WordPress from a USB flash drive. Created by a WordPress trainer, InstantWP's goal is to make it as easy as possible to run WordPress from a portable storage device.
In theory, since InstantWP is the solution built especially for WordPress, can we say that it is the winner at all costs?
Are you looking for the best WordPress themes and plugins?
Download the best plugins and WordPress themes on Envato and easily create your website. Already more than 49.720.000 downloads. [EXCLUSIVE]
To obtain the application, you must access its website and click on " Download Now ».
Do not hesitate to read our article on How to increase the download limit of files on WordPress
The installation is very easy. Once the installation file is downloaded, you need to locate and run it making sure to select the correct directory on your flash drive during the installation process.
That's all ? Not really.
Unlike XAMPP or UwAmp, InstantWP is immediately available with WordPress. Go to the folder where you installed the application, find " InstantWP.exe That you must then execute.
From the Uwamp dashboard, you can access multiple locations. In particular, you can launch the WordPress dashboard, the plugin directory, the WordPress plugins & themes folder or access the documentation.
Also take a look at our 10 WordPress plugins to customize the dashboard of your Blog
That's about all you need to know. You will be able to choose a solution according to your criteria. As far as I'm concerned, as a web developer, I have a preference for portable XAMPP.
If you have any questions, do not hesitate to ask them.
Discover also some premium WordPress plugins
You can use other WordPress plugins to give a modern look and optimize the grip of your blog or website.
We offer you here some premium WordPress plugins that will help you do that.
1. HT Script Pro
This WordPress plugin has the ability to add any custom code to your WordPress theme, so you won't need to modify the theme's code. This will allow you to save time and remove the hassle that occurs when updating your WordPress theme.
Its main features are: very easy to use, unlimited addition of scripts, insertion of scripts on the header or footer, adding custom CSS / js in any WordPress theme, adding the coded Google Analytics, the addition of the Facebook Pixel code, and more.
2. XL Progress
XL Progress is a premium WordPress plugin useful for improving the user experience while reading.
Among these you will find among others: support for HTML and CSS3 technologies, compatibility with most browsers, elegant transitions, more than 50 icons and much more ...
3. Fetcher Image
Easily create your Online Store
Download free WooCommerce, the best e-commerce plugins to sell your physical and digital products on WordPress. [Recommended]
Its main features are: the possibility of automatically defining the first images of articles published as featured images, a backup system (to save and restore important tables), publication statistics, conversion of statistics, a user-friendly user interface , documentation and professional assistance
Find out about other recommended resources to help you build and manage your website.
- The best WordPress plugins to manage a multi-author blog
- WordPress cache: Your changes are not displayed?
- 10 WordPress Themes to Create a Coaching Website
- How to make money with your blog when you have low traffic
Here ! That's it for this tutorial, I hope it will allow you to install WordPress on a USB stick. Do not hesitate to share with your friends on your favorite social networks.
If you have suggestions or remarks, leave them in our section Comments.