How to install WordPress on Xampp offline

WordPress provides a great platform for website designing for enthusiastic users throughout the world. WordPress is open-source software that can be used to design a website easily without CODING! Many users like to make their website offline first and then upload it on an online server. It’s always a good method to practice website development offline. Well today, we will show you how to install WordPress on Xampp. XAMPP is basically a software that can make your laptop/PC a local server for the website.

There are a few Quick Steps you need to follow in order to get started.

How to install WordPress on XAMPP offline?

STEP 1:  INSTALLING XAMPP ON YOU PC

Download XAMPP on your PC using this link and Install it.

How to install WordPress on Xampp

 

STEP 2:  DOWNLOADING WORDPRESS ON YOUR PC

Download WordPress on your PC using this link and Install it. You will also need WINRAR software to unzip the WordPress file.

How to install WordPress on Xampp

STEP 3:  PASTE THE WORDPRESS FOLDER IN XAMPP

Once WordPress folder is unzipped, copy the folder and paste it into C:/xampp/htdocs. HTDOCS is the home folder where all the website will reside.

How to install WordPress on Xampp

How to install WordPress on Xampp

STEP 4: RENAME YOUR WORDPRESS FOLDER 

After pasting the folder, rename the folder from WordPress to your desired website name. Try not to have any spaces in the name.

STEP 5: STARTING THE XAMPP SERVER

After pasting the WordPress folder in XAMPP/htdocs, launch the XAMPP control panel from the Start menu or desktop. Next, you have to start two servers, Apache & MySQL. These are the two servers you will need to install WordPress & build your own website locally on pc/laptop. Sometimes you might get an error saying that Apache or Mysql won’t start because of Port conflict issue. You can either change the conflicting port, or uninstall programs like Skype, or any Mysql server that you might have.

XAMPP control panel 

STEP 6: CREATING DATABASE

After starting Your XAMPP server, go to your web browser and type localhost/phpmyadmin. This will open up the phpmyadmin panel. Now go to the Database section and create a database preferably with the same name as the renamed WordPress folder. Remember this database name. No need to change the Unicode format while creating a new database.

Databases

STEP 7: SETTING UP WORDPRESS

Now we just need to set up WordPress. Type localhost/foldername (which you used when you copied & renamed WordPress folder). The setup will start and it will first ask you for database details. Enter the database name as the same name which you used to create a database in the previous step. Enter username as root and keep the password field empty. Proceed to the next step.

Wordpress login

STEP 8: USER DETAILS

Once the database details match, WordPress will connect with the database. The last step is filling user details. Press run installation and you will get this particular page. Fill in the user details/website details and you should be ready to go.

How to install WordPress on Xampp

So this is how to install WordPress on Xampp. Once you are done, to access the website here are the URLs.

Website URL – localhost/foldername.

WordPress admin login – localhost/foldername/wp-admin

Please note that you should keep the Apache & Mysql server turned on while you are working on the website or it will not work. Let us know if you face any doubts using the comment section below or contact us here.

 

1 thought on “How to install WordPress on Xampp offline

Leave a Reply

Your email address will not be published. Required fields are marked *