{"id":14146,"date":"2021-04-08T12:39:00","date_gmt":"2021-04-08T12:39:00","guid":{"rendered":"https:\/\/www.devopsschool.com\/blog\/?p=14146"},"modified":"2021-04-08T12:39:00","modified_gmt":"2021-04-08T12:39:00","slug":"how-to-install-wordpress-on-localhost-from-scratch","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/how-to-install-wordpress-on-localhost-from-scratch\/","title":{"rendered":"How to Install WordPress and WAMP in Windows Server?"},"content":{"rendered":"\n<p>In this blog i am going to describe you the whole step and tell you how can you do more experiment on local rather than going live on server. if you want to test any themes, plugins or other changes. you should test this in local pc. that&#8217;s why we are here to install wordpress on localhost. <\/p>\n\n\n\n<p>Now all of you are thinking about how can we do this. so the answer of this question is very easy. first of all, you have to decided which localhost service provider you are using in your pc or desktop. here is the list and you can use any of this. which one you like most. this depends on you.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a rel=\"noreferrer noopener\" href=\"https:\/\/www.apachefriends.org\/index.html\" target=\"_blank\">Xampp<\/a> <\/li><li><a rel=\"noreferrer noopener\" href=\"https:\/\/bitnami.com\/stack\/wamp\/installer\" target=\"_blank\">Wamp<\/a><\/li><li><a rel=\"noreferrer noopener\" href=\"https:\/\/www.mamp.info\/en\/windows\/\" target=\"_blank\">Mamp<\/a><\/li><li><a rel=\"noreferrer noopener\" href=\"https:\/\/bitnami.com\/stack\/lamp\/installer\" target=\"_blank\">Lamp<\/a><\/li><\/ul>\n\n\n\n<p>In this blog, i am going to show you how to install wordpress on localhost using <strong>Xampp<\/strong>.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Step 1 : Download Xampp<\/h4>\n\n\n\n<ul class=\"wp-block-list\"><li>simply follow <a rel=\"noreferrer noopener\" href=\"https:\/\/www.apachefriends.org\/index.html\" target=\"_blank\">Xampp official site<\/a> for this. and select your operating system and then download the software.<\/li><li>then simply run the installer and click next button two to three times.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"908\" height=\"539\" src=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/06\/xampp-official-website-for-software-download.jpg\" alt=\"\" class=\"wp-image-14147\" srcset=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/06\/xampp-official-website-for-software-download.jpg 908w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/06\/xampp-official-website-for-software-download-300x178.jpg 300w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/06\/xampp-official-website-for-software-download-768x456.jpg 768w\" sizes=\"auto, (max-width: 908px) 100vw, 908px\" \/><figcaption><strong><em>Xampp official website<\/em><\/strong><\/figcaption><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Step 2 : Download WordPress<\/h4>\n\n\n\n<ul class=\"wp-block-list\"><li>Open official website of <a rel=\"noreferrer noopener\" href=\"https:\/\/wordpress.org\/download\/\" target=\"_blank\">wordpress<\/a> and download latest version of it.<\/li><li>Click on download button<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"890\" height=\"576\" src=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/06\/wordpress-site-for-download-latest-version.jpg\" alt=\"\" class=\"wp-image-14148\" srcset=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/06\/wordpress-site-for-download-latest-version.jpg 890w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/06\/wordpress-site-for-download-latest-version-300x194.jpg 300w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/06\/wordpress-site-for-download-latest-version-768x497.jpg 768w\" sizes=\"auto, (max-width: 890px) 100vw, 890px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Step 3 : Create Database and setup your wordpress file location in Xampp\/htdocs<\/h4>\n\n\n\n<ul class=\"wp-block-list\"><li>extract downloaded wordpress file in htdocs folder<\/li><li>then rename folder which you want to put, in my case i am going to put it <strong>wordpress<\/strong><\/li><li>and then open a new tab and go to <a rel=\"noreferrer noopener\" href=\"http:\/\/localhost\/phpmyadmin\" target=\"_blank\">localhost\/phpmyadmin<\/a><\/li><li>then click on New Button on Left sidebar and then type database name Like wordpress or anything which you want to put in your database.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"701\" height=\"475\" src=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/06\/wordpress-extract-file-in-localhost.jpg\" alt=\"\" class=\"wp-image-14149\" srcset=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/06\/wordpress-extract-file-in-localhost.jpg 701w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/06\/wordpress-extract-file-in-localhost-300x203.jpg 300w\" sizes=\"auto, (max-width: 701px) 100vw, 701px\" \/><figcaption><em>WordPress download file extract in htdocs folder<\/em><\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"607\" height=\"210\" src=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/06\/create-new-database-in-localhost.jpg\" alt=\"\" class=\"wp-image-14150\" srcset=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/06\/create-new-database-in-localhost.jpg 607w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/06\/create-new-database-in-localhost-300x104.jpg 300w\" sizes=\"auto, (max-width: 607px) 100vw, 607px\" \/><figcaption><em>New database create for wordpress installtion<\/em><\/figcaption><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Step 4 : Install WordPress on Localhost<\/h4>\n\n\n\n<ul class=\"wp-block-list\"><li>Open new tab in browser and type <strong>localhost\/wordpress<\/strong> (eg. localhost\/yourfolder name)<\/li><li>Then select your language and click Continue button<\/li><\/ul>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"356\" height=\"555\" src=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/06\/wordpress-language-setup-screen.jpg\" alt=\"\" class=\"wp-image-14151\" srcset=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/06\/wordpress-language-setup-screen.jpg 356w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/06\/wordpress-language-setup-screen-192x300.jpg 192w\" sizes=\"auto, (max-width: 356px) 100vw, 356px\" \/><figcaption><em>WordPress Language setup screen<\/em><\/figcaption><\/figure><\/div>\n\n\n\n<ul class=\"wp-block-list\"><li>Now you will se a welcome screen like this. in this screen you will find some basic things like: <ul><li>Database name<\/li><li>Database username<\/li><li>Database password<\/li><li>Database host<\/li><\/ul><\/li><li>then click on Let&#8217;s Go Button<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"823\" height=\"599\" src=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/06\/wordpress-welcome-screen-for-all-setup.jpg\" alt=\"\" class=\"wp-image-14152\" srcset=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/06\/wordpress-welcome-screen-for-all-setup.jpg 823w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/06\/wordpress-welcome-screen-for-all-setup-300x218.jpg 300w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/06\/wordpress-welcome-screen-for-all-setup-768x559.jpg 768w\" sizes=\"auto, (max-width: 823px) 100vw, 823px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>then provide your database name and put root in user field, keep password blank and don&#8217;t change rest of field<\/li><li>click on submit button.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"813\" height=\"566\" src=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/06\/wordpress-database-user-password-host-setup.jpg\" alt=\"\" class=\"wp-image-14153\" srcset=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/06\/wordpress-database-user-password-host-setup.jpg 813w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/06\/wordpress-database-user-password-host-setup-300x209.jpg 300w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/06\/wordpress-database-user-password-host-setup-768x535.jpg 768w\" sizes=\"auto, (max-width: 813px) 100vw, 813px\" \/><\/figure>\n\n\n\n<p>Now at last you came at your final step:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Give a name to your site.&nbsp;<\/li><li>type your username<\/li><li>type strong password<\/li><li>type your email <\/li><li>then click on Install WordPress Button<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"615\" height=\"593\" src=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/06\/wordpress-last-setup-for-username-email.jpg\" alt=\"\" class=\"wp-image-14154\" srcset=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/06\/wordpress-last-setup-for-username-email.jpg 615w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/06\/wordpress-last-setup-for-username-email-300x289.jpg 300w\" sizes=\"auto, (max-width: 615px) 100vw, 615px\" \/><\/figure>\n\n\n\n<p>At Last you will see that wordpress successfully installed Screen.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"803\" height=\"443\" src=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/06\/wordpress-successfully-installed-screen.jpg\" alt=\"\" class=\"wp-image-14156\" srcset=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/06\/wordpress-successfully-installed-screen.jpg 803w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/06\/wordpress-successfully-installed-screen-300x166.jpg 300w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/06\/wordpress-successfully-installed-screen-768x424.jpg 768w\" sizes=\"auto, (max-width: 803px) 100vw, 803px\" \/><\/figure>\n\n\n\n<p>Now you can check out your site using your login and password which you setup above. your backend admin panel will look like this.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"432\" src=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/06\/admin-panel-after-login-1024x432.jpg\" alt=\"\" class=\"wp-image-14157\" srcset=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/06\/admin-panel-after-login-1024x432.jpg 1024w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/06\/admin-panel-after-login-300x126.jpg 300w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/06\/admin-panel-after-login-768x324.jpg 768w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/06\/admin-panel-after-login.jpg 1343w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>Website Back-end Admin Panel<\/figcaption><\/figure>\n\n\n\n<p>and your front-end site will look like this.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"410\" src=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/06\/frontend-look-after-setup-complete-1024x410.jpg\" alt=\"\" class=\"wp-image-14158\" srcset=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/06\/frontend-look-after-setup-complete-1024x410.jpg 1024w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/06\/frontend-look-after-setup-complete-300x120.jpg 300w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/06\/frontend-look-after-setup-complete-768x307.jpg 768w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/06\/frontend-look-after-setup-complete.jpg 1332w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>Website Front-end View<\/figcaption><\/figure>\n\n\n\n<p>Now we will going to explain about how to create a new post, new category or installation of new Plugins. <\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>How to Write a Post in WordPress?<\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\"><li>Login using your gmail and password<\/li><li>click on Posts Situated in Left Sidebar<\/li><li>Click on Add New Button<\/li><li>Type your Title and post Content<\/li><li>Select your Category and add tags<\/li><li>Then click on Publish button<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"288\" src=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/06\/add-new-post-button-1024x288.jpg\" alt=\"\" class=\"wp-image-14162\" srcset=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/06\/add-new-post-button-1024x288.jpg 1024w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/06\/add-new-post-button-300x84.jpg 300w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/06\/add-new-post-button-768x216.jpg 768w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/06\/add-new-post-button.jpg 1149w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption><em>Add New Button for Post<\/em><\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"430\" src=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/06\/post-form-in-wordpress-1024x430.jpg\" alt=\"\" class=\"wp-image-14163\" srcset=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/06\/post-form-in-wordpress-1024x430.jpg 1024w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/06\/post-form-in-wordpress-300x126.jpg 300w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/06\/post-form-in-wordpress-768x323.jpg 768w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/06\/post-form-in-wordpress.jpg 1345w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption><em>Publish a Post View<\/em><\/figcaption><\/figure>\n\n\n\n<p><strong>Resources<\/strong> : <\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\"  id=\"_ytid_34460\"  width=\"760\" height=\"427\"  data-origwidth=\"760\" data-origheight=\"427\" src=\"https:\/\/www.youtube.com\/embed\/RtXA60HewUw?enablejsapi=1&#038;autoplay=0&#038;cc_load_policy=0&#038;cc_lang_pref=&#038;iv_load_policy=1&#038;loop=0&#038;rel=1&#038;fs=1&#038;playsinline=0&#038;autohide=2&#038;theme=dark&#038;color=red&#038;controls=1&#038;disablekb=0&#038;\" class=\"__youtube_prefs__  epyt-is-override  no-lazyload\" title=\"YouTube player\"  allow=\"fullscreen; accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen data-no-lazy=\"1\" data-skipgform_ajax_framebjll=\"\"><\/iframe>\n<\/div><figcaption>How to Install WordPress in Localhost?<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\"  id=\"_ytid_38648\"  width=\"760\" height=\"427\"  data-origwidth=\"760\" data-origheight=\"427\" src=\"https:\/\/www.youtube.com\/embed\/QXbrdVjWaME?enablejsapi=1&#038;autoplay=0&#038;cc_load_policy=0&#038;cc_lang_pref=&#038;iv_load_policy=1&#038;loop=0&#038;rel=1&#038;fs=1&#038;playsinline=0&#038;autohide=2&#038;theme=dark&#038;color=red&#038;controls=1&#038;disablekb=0&#038;\" class=\"__youtube_prefs__  epyt-is-override  no-lazyload\" title=\"YouTube player\"  allow=\"fullscreen; accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen data-no-lazy=\"1\" data-skipgform_ajax_framebjll=\"\"><\/iframe>\n<\/div><figcaption>How to Install Plugins in WordPress?<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\"  id=\"_ytid_43726\"  width=\"760\" height=\"427\"  data-origwidth=\"760\" data-origheight=\"427\" src=\"https:\/\/www.youtube.com\/embed\/_cKWpzoXDl4?enablejsapi=1&#038;autoplay=0&#038;cc_load_policy=0&#038;cc_lang_pref=&#038;iv_load_policy=1&#038;loop=0&#038;rel=1&#038;fs=1&#038;playsinline=0&#038;autohide=2&#038;theme=dark&#038;color=red&#038;controls=1&#038;disablekb=0&#038;\" class=\"__youtube_prefs__  epyt-is-override  no-lazyload\" title=\"YouTube player\"  allow=\"fullscreen; accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen data-no-lazy=\"1\" data-skipgform_ajax_framebjll=\"\"><\/iframe>\n<\/div><figcaption>How to publish a post in wordpress?<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>In this blog i am going to describe you the whole step and tell you how can you do more experiment on local rather than going live on server. if you want to test any themes, plugins or other changes. you should test this in local pc. that&#8217;s why we are here to install wordpress&#8230;<\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","_joinchat":[],"footnotes":""},"categories":[2],"tags":[5568,1076,4759],"class_list":["post-14146","post","type-post","status-publish","format-standard","hentry","category-uncategorised","tag-install-wordpress","tag-plugins","tag-wordpress"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/14146","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=14146"}],"version-history":[{"count":6,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/14146\/revisions"}],"predecessor-version":[{"id":20759,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/14146\/revisions\/20759"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=14146"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=14146"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=14146"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}