How to Make a Test Environment Localhost Sandbox for Wordpress

Started by Creature, 01-07-2022

187
1
How to Make a Test Environment Localhost Sandbox for Wordpress
  01-07-2022, 06:34 AM (Updated: 01-10-2022, 05:52 AM by Creature. Reason: updating typos )
#1
Looking for a test environment for your Wordpress site, sandbox or localhost?
Perfect for testing and you can also import / export sites to a live server.
Keep your test site as a copy of your live version to test plugins, updates etc before committing to the live site.

Here is a step by step guide: 596.31MB - V3.2.6 x64 (there is a 32 bit x86 version)
  • Install in default C Drive location
It will ask about the default browser (Internet Explorer is default) but I'd choose something else, so navigate to that and next.
Default notepad is notepad....next

[Image: nZpODePSuvlNpovdWKSwSgfVVak8PvLLDTv8JOnS...cfbPAvULoK]
  • You now have your Localhost ready - https://localhost/ (there is no "s" in the http://)
To access WampServer settings right click on the Wamp system tray icon.

Note: WampServer icon is GREEN. If the WampServer icon is red or yellow, then it means the services (Apache, MySQL, PHP) are not running. You need to start the services by clicking on the icon before setting up the database.

[Image: DPs5gfrXq89kRHh7uw3YBGi0WptWIRCAX23DSw0R...xQPV5aL-Pd]
  • LEFT click on WampServer icon and select phpMyAdmin
[Image: jb_3rs4ShN-gZ0AsVUTF5_LtT443ChdEeAaM8mya...t-HUo2bh4G]

It will open a new tab on your browser (or a new window) with the phpMyAdmin welcome and login screen.
  • Enter the Username: root
  • Leave the password blank (empty)
  • Press "Go”
 [Image: 57XgGnlMXZfo-FDEuWulZ0emxcczpqiol-nCgB5G...WIlRIZdcn3]
  • Select Databases (top left corner)
  • Fill in Database name: test_db
  • Leave latin_swedish_ci as default and press "Create"
[Image: DY2NKxMX5HC1STJzbMKPZ7knrtdfv4O5-7Cx4meS...JfpsdU2IP7]
  • Go to your downloaded Wordpress zip file and extract it
  • Rename the folder to whatever you like (this will be the URL for the test site)
I have chosen "mytestsite" as the folder name so the URL will be https://localhost/mytestsite/ (there is no "s" in http://)
  • Cut or Copy and paste the Wordpress (renamed) folder into the www folder in the Wamp install directory (C:\wamp64\www)
[Image: dKPO4hfjhkkWo-aFXON9JBhO9-K0sLuzQB0kITQO...DGJ3fd5Kqi]
  • Open the URL - https://localhost/mytestsite/ (there is no "s" in the http://)
  • Select the language
  • You will see "Welcome to Wordpress" database information. Click "Let's go!"
  • Enter your details
  • database name: test_db
  • Username: root
  • Password: (empty)
  • Database Host: localhost
  • Table Prefix: wp_
  • Click "submit"
  • In the next window click "Run the installation"
[Image: DuJu_y94cMluD1NWAFnVyRPW9GnJnVwyNrIEyURs...DyntrARCI3]
  • Enter your details 
[Image: rSAFhjeoXZuf0wp3dJ7nXgnLxl0lXNRPa6LBWOEM...yCLFP_KAjH]
  • Log in and start testing.
It’s the same log in path as a live site /wp-admin

[Image: _jNFF98R1gd_w8-ULDVQ15i4K4WHr6tJ-4-m_tWA...XZzVRR0hqW]
  • If you want to delete and start again, navigate to your Databases page in Wamp, 
select the database (test_db) and click "Drop" then begin again.

[Image: awHGAtHxA1n9B5xhT2spa9-gNm84wvCE_ydbMtbw...SYKNmFo4fv]

HAPPY TESTING for 2022.

P.S. The thread was only limited to 10 images but I had about 14 to post but should be ok for you to follow.

By default, pasting a http:// link will default to https:// in the post.
All local host protocols are http:// (no "s")


Knowledge doesn't motivate me, I'm interested in apathy.

Step by step guide to create a test / sandbox / localhost environment for Wordpress - HERE

  01-18-2022, 11:05 AM
#2
thanks for the guide. very useful

« Next Oldest | Next Newest »


Possibly Related Threads…
Thread Author Replies Views Last Post
FREE hosting for WordPress to try/test/experiment/debug themes, plugins... AlfaBlue 3 293 10-01-2021, 04:00 PM
Last Post: hahayes3000
What is the best way to make a profit Reselling? firstandlasttime1a 0 137 10-03-2020, 04:21 PM
Last Post: firstandlasttime1a
Is it safe to install the Nulled plugins on your test site? k0ak0a 0 349 06-28-2020, 04:36 AM
Last Post: k0ak0a
How do you make money in isolation massive 12 554 04-19-2020, 10:22 PM
Last Post: krkt
How to make a website crawler bot? DannnyZ 0 681 07-14-2019, 07:12 PM
Last Post: DannnyZ



1 Guest(s)