{"id":524,"date":"2026-06-17T02:40:30","date_gmt":"2026-06-17T02:40:30","guid":{"rendered":"https:\/\/mitalgoswami.in\/?p=524"},"modified":"2026-06-17T02:40:30","modified_gmt":"2026-06-17T02:40:30","slug":"install-wordpress-locally-using-xampp","status":"publish","type":"post","link":"https:\/\/mitalgoswami.in\/?p=524","title":{"rendered":"Install WordPress Locally Using XAMPP"},"content":{"rendered":"\n<h1 class=\"wp-block-heading\">Step 1: Download and Install XAMPP<\/h1>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Download XAMPP from the official Apache Friends website: <a href=\"https:\/\/www.apachefriends.org\/index.html?utm_source=chatgpt.com\" target=\"_blank\" rel=\"noreferrer noopener\">Apache Friends (XAMPP)<\/a><\/li>\n\n\n\n<li>Once the download is complete, run the installer and follow the installation wizard.<\/li>\n\n\n\n<li>After installation, start <strong>Apache<\/strong> and <strong>MySQL<\/strong> from the XAMPP Control Panel.<\/li>\n\n\n\n<li>Verify that the local server is working by opening your web browser and visiting: <code>http:\/\/localhost\/<\/code> If the XAMPP welcome page appears, the installation was successful.<\/li>\n<\/ol>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Step 2: Add the WordPress Files<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Download the latest version of WordPress from: <a href=\"https:\/\/wordpress.org\/download\/?utm_source=chatgpt.com\" target=\"_blank\" rel=\"noreferrer noopener\">WordPress.org<\/a><\/li>\n\n\n\n<li>Navigate to the XAMPP installation directory: <code>C:\\xampp\\htdocs<\/code><\/li>\n\n\n\n<li>Inside the <strong>htdocs<\/strong> folder, create a new folder for your website (for example, <code>testsite<\/code>). The folder name becomes part of your site&#8217;s URL.Example:<code>http:\/\/localhost\/testsite<\/code><\/li>\n\n\n\n<li>Extract the downloaded WordPress ZIP file into the newly created folder.<\/li>\n<\/ol>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Step 3: Create a Database for WordPress<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Open the XAMPP Control Panel and ensure <strong>MySQL<\/strong> is running.<\/li>\n\n\n\n<li>Launch <strong>phpMyAdmin<\/strong> by visiting: <code>http:\/\/localhost\/phpmyadmin<\/code><\/li>\n\n\n\n<li>Click <strong>New<\/strong> in the left sidebar.<\/li>\n\n\n\n<li>Enter a database name (e.g., <code>wordpress_db<\/code>) and click <strong>Create<\/strong>.<\/li>\n\n\n\n<li>Remember the database name, as you will need it during the WordPress installation.<\/li>\n<\/ol>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Step 4: Install WordPress<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Open your browser and navigate to: <code>http:\/\/localhost\/testsite<\/code> (Replace <code>testsite<\/code> with your folder name.)<\/li>\n\n\n\n<li>Select your preferred language and click <strong>Continue<\/strong>.<\/li>\n\n\n\n<li>When prompted for database information, <\/li>\n\n\n\n<li>Database Name :wordpress_db (or your database name)<br>Username : root<br>Password :(leave blank)<br>Database Host : localhost<br>Table Prefix : wp_<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"961\" height=\"636\" src=\"https:\/\/mitalgoswami.in\/wp-content\/uploads\/2026\/06\/SiCQY52Dwu9yRQgW4y1QvJqwt56rWJyG84z-YXOmeyIh90uXddMmzKBPmbLjQIvN47Niel-EvyglboY8umkzBl1pdjbtjTFRHEgH9-ZO5lPwnhuMKbBUPrcv8TJOaLlG5yQXMAWsxaHnHhZLw1WAV7B63o330FjHgkOEghKeyMXwHi-3DfIfGKImXRRFcYw9.jpg\" alt=\"\" class=\"wp-image-525\" srcset=\"https:\/\/mitalgoswami.in\/wp-content\/uploads\/2026\/06\/SiCQY52Dwu9yRQgW4y1QvJqwt56rWJyG84z-YXOmeyIh90uXddMmzKBPmbLjQIvN47Niel-EvyglboY8umkzBl1pdjbtjTFRHEgH9-ZO5lPwnhuMKbBUPrcv8TJOaLlG5yQXMAWsxaHnHhZLw1WAV7B63o330FjHgkOEghKeyMXwHi-3DfIfGKImXRRFcYw9.jpg 961w, https:\/\/mitalgoswami.in\/wp-content\/uploads\/2026\/06\/SiCQY52Dwu9yRQgW4y1QvJqwt56rWJyG84z-YXOmeyIh90uXddMmzKBPmbLjQIvN47Niel-EvyglboY8umkzBl1pdjbtjTFRHEgH9-ZO5lPwnhuMKbBUPrcv8TJOaLlG5yQXMAWsxaHnHhZLw1WAV7B63o330FjHgkOEghKeyMXwHi-3DfIfGKImXRRFcYw9-300x199.jpg 300w, https:\/\/mitalgoswami.in\/wp-content\/uploads\/2026\/06\/SiCQY52Dwu9yRQgW4y1QvJqwt56rWJyG84z-YXOmeyIh90uXddMmzKBPmbLjQIvN47Niel-EvyglboY8umkzBl1pdjbtjTFRHEgH9-ZO5lPwnhuMKbBUPrcv8TJOaLlG5yQXMAWsxaHnHhZLw1WAV7B63o330FjHgkOEghKeyMXwHi-3DfIfGKImXRRFcYw9-768x508.jpg 768w\" sizes=\"auto, (max-width: 961px) 100vw, 961px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Click <strong>Submit<\/strong> and then <strong>Run the Installation<\/strong>.<\/li>\n\n\n\n<li>Enter your website details:\n<ul class=\"wp-block-list\">\n<li>Site Title<\/li>\n\n\n\n<li>Username<\/li>\n\n\n\n<li>Password<\/li>\n\n\n\n<li>Email Address<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Click <strong>Install WordPress<\/strong>.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"795\" height=\"835\" src=\"https:\/\/mitalgoswami.in\/wp-content\/uploads\/2026\/06\/G5QorFOwafYJlMxPUHtIesNIASOt8XejttpKLP2NpJNydbDQywosu2oWg30Kt6s7mCpr2KVD_2yMDO9Ylspq537qN97Ahr8BNLYJtJx3kJnmjbeimwChU9KfsCnVgSZCwKeTZSG16ye57XcRuKWZF8lScnKi-GB0ZvnZItco4bJ1RwnHYsbJCTBksh34oHrw.jpg\" alt=\"\" class=\"wp-image-526\" srcset=\"https:\/\/mitalgoswami.in\/wp-content\/uploads\/2026\/06\/G5QorFOwafYJlMxPUHtIesNIASOt8XejttpKLP2NpJNydbDQywosu2oWg30Kt6s7mCpr2KVD_2yMDO9Ylspq537qN97Ahr8BNLYJtJx3kJnmjbeimwChU9KfsCnVgSZCwKeTZSG16ye57XcRuKWZF8lScnKi-GB0ZvnZItco4bJ1RwnHYsbJCTBksh34oHrw.jpg 795w, https:\/\/mitalgoswami.in\/wp-content\/uploads\/2026\/06\/G5QorFOwafYJlMxPUHtIesNIASOt8XejttpKLP2NpJNydbDQywosu2oWg30Kt6s7mCpr2KVD_2yMDO9Ylspq537qN97Ahr8BNLYJtJx3kJnmjbeimwChU9KfsCnVgSZCwKeTZSG16ye57XcRuKWZF8lScnKi-GB0ZvnZItco4bJ1RwnHYsbJCTBksh34oHrw-286x300.jpg 286w, https:\/\/mitalgoswami.in\/wp-content\/uploads\/2026\/06\/G5QorFOwafYJlMxPUHtIesNIASOt8XejttpKLP2NpJNydbDQywosu2oWg30Kt6s7mCpr2KVD_2yMDO9Ylspq537qN97Ahr8BNLYJtJx3kJnmjbeimwChU9KfsCnVgSZCwKeTZSG16ye57XcRuKWZF8lScnKi-GB0ZvnZItco4bJ1RwnHYsbJCTBksh34oHrw-768x807.jpg 768w\" sizes=\"auto, (max-width: 795px) 100vw, 795px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Completion<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">After the installation is finished, log in to the WordPress dashboard at:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>http:&#47;&#47;localhost\/testsite\/wp-admin<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">You should now have a fully functional WordPress website running on your local computer.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Step 1: Download and Install XAMPP Step 2: Add the WordPress Files Step 3: Create a Database for WordPress Step 4: Install WordPress Completion After the installation is finished, log in to the WordPress dashboard at: You should now have a fully functional WordPress website running on your local computer.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,2],"tags":[],"class_list":["post-524","post","type-post","status-publish","format-standard","hentry","category-unit-1","category-wordpress"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/mitalgoswami.in\/index.php?rest_route=\/wp\/v2\/posts\/524","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mitalgoswami.in\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mitalgoswami.in\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mitalgoswami.in\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mitalgoswami.in\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=524"}],"version-history":[{"count":1,"href":"https:\/\/mitalgoswami.in\/index.php?rest_route=\/wp\/v2\/posts\/524\/revisions"}],"predecessor-version":[{"id":527,"href":"https:\/\/mitalgoswami.in\/index.php?rest_route=\/wp\/v2\/posts\/524\/revisions\/527"}],"wp:attachment":[{"href":"https:\/\/mitalgoswami.in\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=524"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mitalgoswami.in\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=524"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mitalgoswami.in\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=524"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}