If you want to develop a WordPress site locally, on your Windows PC, WAMP is the way to go. WAMP (Windows Apache, MySQL, PHP) is a public package that includes Apache, MySQL and PHP all preconfigured to run on Windows. It comes as an install package that does everything for you and includes tool tray widgets that allow for easy launch, monitor and shut down. Installing WordPress on WAMP is also very easy. This article will take you step by step up to creating a website on this platform. Sites created here can be easily exported for installation on your actual hosting provider platform. In another Blog I will go over the details of basic WordPress operation.
What you need and where to get it:
The only items you will need to get started are the WAMP and WordPress distributions. I suggest using the following two sites to obtain them:
File to download: wampserver3.1.9_x64.exe (this is the whole setup package)
File to download: wordpress-5.2.3.zip (this is the whole setup package)
Both of these packages will likely have later version numbers embedded in the names when you actually retrieve them. These were the current versions as of late Oct. 2019.
You will not necessarily need any other programs except a text editor and possibly a photo editor. Installation on different, remote platforms will require a couple more tools including Secure Shell (SSH) and Secure FTP (SFTP) tools.
Installation of WAMP:
Here are step by step instructions for installing WAMP on Windows 10.
- Execute the setup program downloaded above (“wampserverx.y.v x64.exe”)
- Read and click through the license and terms dialogs.
- Click through dialogs until you are asked for an installation location. I suggest c:/wamp64. (This assumes you are installing on a 64 bit Windows OS)
- When asked to select browser, I suggest Chrome. (The install dialog will require that you point to the actual executable.)
- The install should finish with no errors.
- The entire WAMP facility, including directory structure that would normally be on the hosting server, is contained in c:/wamp64. Add a directory with the exact name you will use for your website to the directory c:/wamp64/www. I would suggest lowercase only. This is the root domain name only. Do not include “www” or “.com.”. For LatBin.com, I use “latbin”.
- Launch the WAMP facility using the Icon provided at installation. It points to “wampmanager.exe”.
- You should have a small Icon in the hidden part of the taskbar, (the overflow area accessed with the small up-arrow at the right). If it is green in color all is well. Left or right click for management menus. The icon is a stylized “W” with a slotted shape around it.
This installation can only be performed after WAMP has been successfully installed per the above steps. The usual download file for WordPress is a .zip file for Windows installations. Use your preferred ZIP tool to either view or unzip the entire contents. Then follow these steps:
- The ZIP file will contain one top level folder called wordpress. Copy all of this folders content, but NOT the folder itself directly into the folder you created above, that has the name of your website. The results should look approximately as follows:
- Log into phpmyadmin and create a new database as
- In your web browser, (Chrome works well), type the URL: http://localhost/
- At the bottom of that screen, click on “phpmyadmin”
- In the login dialog the user name will be root and the password is left blank. (you can change this inside the phpmyadmin application if desired).
- Click on the word New in the tree structure on the left.
- In the form in the right pane, add a new database name. The name is arbitrary but you need to remember it.
- Select a “Collation”; I use utf8_general_ci.
- Press the create button. Your new data base should show at the left.
- Close the browser.
- In your web browser enter the URL : http://localhost/YOURSITENAME/wp-admin
- In the dialog that appears select “English” unless you prefer a different language!
- When asked to select the data base , enter the data base name you created in step 2. Again, you will enter “root” and leave password blank. Leave the rest at default values and click on.
- If this is successful, (WP will tell you!), then click on to WP setup screen. Enter a login name for yourself and password, email and site title. This will be your credentials to login to wp-admin next time.
- Click through this dialog and you will be asked for the credentials you just entered. Type them and long in to the wp-admin console. WordPress is now functional and ready to build your site.
You should see something like this:
Build a simple Site (if this is your first WordPress experience:
If you already have a WordPress site, import that now and skip the rest of this article. You are ready to rock and roll. If you are new to WordPress, follow these few steps to create your first WP site!
- Install a theme. I suggest either Olsen-Light or Astra. You can always change this later. Select “Appearance” from the left menu and then select themes. To try Olsen-Lite click the Add button near the top and type Olsen in the search box at the right. On the Olsen-Light selection click on “install”. When that completes click on “activate”. You can change themes to see how they look and operate. Be careful not to use advanced theme based editors unless you are sure you want to proceed with them. They often create code that won’t function in other themes.
- Select “Pages” from the left hand menu and then select Sample Page. Click on edit.
- Customize this page a little. Maybe change some text and alter the block type from paragraph to title (“T”).
- Press Publish. You have created your first page. Click View.
- To change the title bar area click on edit page, then appearance , then customize.
- Change some things in “Site Identity” and see how they effect your page.
- Congratulations! You have now started your first website using WordPress.
Please comment on this BLOG article. Negative comments are also appreciated.