Here is illustration for making website within local server with use of wordpress and xampp.
To set up WordPress with XAMPP, you can follow these steps:
Step 1: Install XAMPP
- Download XAMPP from the official website (https://www.apachefriends.org/index.html).
- Run the installer and follow the instructions to install XAMPP on your computer.
Step 2: Start XAMPP Services
- Launch XAMPP Control Panel.
- Start the Apache and MySQL services by clicking the "Start" button next to each service. Wait until both services are running (indicated by a green status).
Step 3: Create a Database
- Open your web browser and navigate to http://localhost/phpmyadmin/. This will open the phpMyAdmin interface.
- Click on "Databases" in the top menu.
- Enter a name for your WordPress database in the "Create database" field.
- Click the "Create" button to create the database.
Step 4: Download and Extract WordPress
- Download the latest version of WordPress from the official website (https://wordpress.org/download/).
- Extract the downloaded ZIP file to the "htdocs" folder within your XAMPP installation directory (usually located at C:\xampp\htdocs).
Step 5: Configure WordPress
- Rename the extracted WordPress folder to a desired name (e.g., "mywebsite").
- Open the renamed folder and locate the "wp-config-sample.php" file.
- Rename the file to "wp-config.php".
- Open the "wp-config.php" file in a text editor.
- Locate the following lines and update them with your database information:
- define('DB_NAME', 'database_name_here');
- define('DB_USER', 'username_here');
- define('DB_PASSWORD', 'password_here');
- define('DB_HOST', 'localhost');
- Save the changes.
Step 6: Install WordPress
- Open your web browser and navigate to http://localhost/mywebsite (replace "mywebsite" with the folder name you chose in Step 5).
- Follow the on-screen instructions to complete the WordPress installation.
- Provide the requested information, including site title, username, password, and email.
- Click the "Install WordPress" button.
- Once the installation is complete, you will be able to log in to your WordPress dashboard.
Congratulations! You have successfully set up WordPress with XAMPP. You can now start building and customizing your website locally on your computer. Remember to stop the Apache and MySQL services in XAMPP Control Panel when you're not working on your WordPress site.






0 Comments