Professional Documents
Culture Documents
GINNR'GUIDFORWORDPR / tartourWordPressloginminutes
Over600,000+Readers
WPGINNR LOG TUTORIAL HOWTOCRATALOCAL
GetfreshcontentfromWPeginner
HowtoCreateaLocalWordPressite
UsingXAMPP
LastupdatedonMarch27th,2017ditorialtaff FeaturedWordPressPlugin
OptinMonster
680 211 349 55 65 Convertwesitevisitors
HAR intoemailsuscriers.
LearnMore
DoouwanttocreatealocalWordPresssiteonourcomputerusingXAMPP?
InstallingWordPressonourcomputerhelpsoutroutWordPress,test
themes/plugins,andlearnWordPressdevelopment.Inthisarticle,wewill
showouhowtocreatealocalWordPresssiteUsingXAMPP.
Ineedhelpwith...
http://www.wpbeginner.com/wptutorials/howtocreatealocalwordpresssiteusingxampp/ 1/15
6/13/2017 HowtoCreateaLocalWordPressSiteUsingXAMPP
tartinga WordPress
log Performance
WordPress WordPress
ecurit O
WordPress uildingan
rrors Onlinetore
WhCreateaLocalWordPressite?
SearchWPBeginner...
CreatinglocalWordPresssitesisacommonpracticeamongdevelopersand
siteowners.ItallowsoutotestWordPresswithoutcreatinganactualwesite
ontheinternet.
UsefulWordPressGuides
Localwesitesareonlvisiletoouonourcomputer.Youcantrdifferent
WordPressthemesandplugins,testtheirfeatures,andlearntheWordPress 5estWordPresscommercePlugins
Compared WordPress
asics.
5estWordPressMemershipPlugins
IfoualreadhaveaWordPresswesite,thenoucancreatealocalcopof (Compared) toWordPre
ourwesiteonourcomputertotroutnewpluginupdatesefore
7estmailMarketingervicesformall
implementingthemonourlivewesite. usiness(2017) WordPress
Important:Localwesitewillonlevisiletoouonourcomputer.Ifou 5estDragandDropWordPressPage
wanttouildaliveWordPresssite,thenouwillneedadomainnameand uildersCompared WordPress
WordPresshosting.Followthestepstepinstructionsinourhowtostarta HowtowitchfromloggertoWordPress
WordPresslogguidewhenouarereadtocreatealivewesite. withoutLosingGoogleRankings
Havingsaidthat,letscheckouthowtoinstallWordPresslocallonWindows,
Mac,orLinuxusingXAMPP.
WhatisXAMPP? Deals&Coupons(viewall)
InordertocreatealocalWordPresssite,ouwillneedtosetupaweserver WPngineCoupon
software(Apache),PHP,andMQLonourcomputer. Get50%OFFonall
WPnginehostingplans
forfirst3months.
PHPisaprogramminglanguageandMQLisadataasemanagement
software.othofthemarerequiredtorunWordPress.
ThemeTrustCoupon
Get20%offonall
Installingeachofthesesoftwareseparatelisquitedifficultforeginners.This ThemeTrustthemes
iswhereXAMPPcomesin. roughttoouHenr
Jones.
http://www.wpbeginner.com/wptutorials/howtocreatealocalwordpresssiteusingxampp/ 2/15
6/13/2017 HowtoCreateaLocalWordPressSiteUsingXAMPP
XAMPPmakesiteasforoutouildWordPresswesiteslocall.Itis
availaleforWindows,Mac,andLinuxasedcomputers.
Letsgetstarted.
InstallingXAMPPonYourComputer
First,ouneedtovisittheXAMPPwesiteandclickonthedownloadutton
forouroperatingsstem.
Dependingonouroperatingsstem,ourinstallationwizardandthe
applicationinterfacemadifferfromthescreenshotshere.Forthesakeofthis
article,wewillshowoutheWindowsversionofthesoftware.
AfterdownloadingXAMPP,ouwillneedtoclickandruntheinstaller.
XAMPPwillaskouwhereouwanttoinstallthesoftwareandwhich
packagesoudliketoinstall.Thedefaultsettingswillworkformostusers.
KeepclickingonNexttofinishthesetupwizard.
http://www.wpbeginner.com/wptutorials/howtocreatealocalwordpresssiteusingxampp/ 3/15
6/13/2017 HowtoCreateaLocalWordPressSiteUsingXAMPP
Afterfinishingthewizard,checkthestartthecontrolpanelnowoptionand
thenclickonthefinishutton.
ThiswilllaunchtheXAMPPcontrolpanel.Goaheadandclickonthestart
uttonnexttoApacheandMQL.
XAMPPwillnowstartApacheandMQL.YoumaseeaWindowsFirewall
notification,itisimportantthatouclickonAllowAccessuttonforoth
applicationstorunonourcomputer.
http://www.wpbeginner.com/wptutorials/howtocreatealocalwordpresssiteusingxampp/ 4/15
6/13/2017 HowtoCreateaLocalWordPressSiteUsingXAMPP
OnceothapplicationsarestartedtheirnameswillehighlightedinGreen.
YouhavesuccessfullinstalledXAMPPonourcomputer.
NowouarereadtocreatealocalwesiteandinstallWordPressusing
XAMPP.
CreatingaLocalWordPressitewithXAMPP
First,ouwillneedtodownloadWordPress.VisittheWordPress.orgwesite
andclickontheDownloadWordPressutton.
AfterdownloadingWordPress,ouneedtoextractthezipfile,andouwillsee
awordpressfolder.Youneedtocopthisfolder.
http://www.wpbeginner.com/wptutorials/howtocreatealocalwordpresssiteusingxampp/ 5/15
6/13/2017 HowtoCreateaLocalWordPressSiteUsingXAMPP
Next,headovertoourXAMPPinstallationfolder.
OnWindowsitwouldeC:/ProgramFiles/XAMPP/htdocsor
C:\Xampp\htdocsfolder.
OnMac,itwille/Applications/XAMPP/htdocsfolder.
Pastethewordpressfolderoucopiedearlierinsidehtdocs.
Werecommendrenamingthewordpressfoldertowesite1.Thiswillhelpou
easilidentifourlocalsite.
Next,ouneedtoopenourfavoritewerowserandvisitlocalhost/wesite1.
Youwillseeapagelikethis:
http://www.wpbeginner.com/wptutorials/howtocreatealocalwordpresssiteusingxampp/ 6/15
6/13/2017 HowtoCreateaLocalWordPressSiteUsingXAMPP
ThispagewilltellouthatWordPressneedsadataasename,dataase
username,password,andhostinformation.
LetscreateadataaseforourWordPresssite.
Youllneedtoopenanewrowsertaandvisitlocalhost/phpmadmin/.This
willlaunchphpMAdminappthatcomespre-installedwithXAMPP.Itallows
outoeasilmanageourdataasesusingasimplerinterface.
YouwouldneedtoclickonDataases,provideanameforournewdataase,
andthenclickonthecreateuttontocontinue.
Nowthatouhavecreatedadataase,oucanuseitforourWordPresssite.
witchackto/localhost/wesite1/rowsertaandclickontheLetsGo
utton.
Onthenextscreen,ouwilleaskedtoprovideourWordPressdataase
information.
http://www.wpbeginner.com/wptutorials/howtocreatealocalwordpresssiteusingxampp/ 7/15
6/13/2017 HowtoCreateaLocalWordPressSiteUsingXAMPP
nterthedataasenameoucreatedearlier.Yourusernameisrootandou
shouldleavethepasswordfieldlank.Forthedataasehostfield,ouneed
touselocalhost.
eethescreenshotelow:
Onceouaredone,clickontheumituttontocontinue.
IfouareonWindowsorLinux,WordPresswillnowstorethesesettingsin
ourWordPressconfigurationfilecalledwp-config.phpfile.
However,ifouareonMac,thenitwillshowouthecontentsofthefileand
willaskoutocreateit.
Youwillneedtocreatethisfileinourwesitesrootfolder.
Aftercreatingthefile,pastethetextoucopiedearlierinsideit.Next,ou
needtosavethefileandreturnacktoWordPressinstallertocontinue.
Inthenextstep,WordPresswillaskoutoprovideinformationaoutour
wesite.First,enterthetitleouwanttouseforthissite.
Afterthatouneedtoenterausername,password,andanemailaddressfor
ouradminaccount.
http://www.wpbeginner.com/wptutorials/howtocreatealocalwordpresssiteusingxampp/ 8/15
6/13/2017 HowtoCreateaLocalWordPressSiteUsingXAMPP
Onceouhavefilledalltheinformation,clickontheInstallWordPressutton
tocontinue.
WordPresswillnowruntheinstallationandpromptoutologinonceitsdone.
Youcanlogintoourwesitegoingto/localhost/website1/wpadmin
pageandusetheusername/passwordthatouenteredduringinstallationto
login.
ThingstoTrAfterCreatingaLocalWordPressite
NowthatouhavecreatedourlocalWordPresssiteusingXAMPP,oucan
workonitlikeouwoulddoonaliveWordPresssite.
HeadovertoAppearancetocustomizeoursitesappearanceorinstallanew
theme.Herearesomegreatfreethemesthatoucantr.
ThenextthingouwouldwanttotrisWordPressplugins.Pluginsarelike
appsforourWordPresssiteandallowoutoaddcoolfeatureslikecontact
form,photogalleries,eCommercestore,etc.
http://www.wpbeginner.com/wptutorials/howtocreatealocalwordpresssiteusingxampp/ 9/15
6/13/2017 HowtoCreateaLocalWordPressSiteUsingXAMPP
Needhelpinstallingplugins?eeourstepstepguideonhowtoinstalla
WordPressplugin.
AfterworkingonourlocalWordPresssiteoumawanttomoveittoalive
server.HeadovertoourstepstepguideonhowtomoveWordPressfrom
localservertolivesite.
WehopethisarticlehelpedoulearnhowtocreatealocalWordPresssite
usingXAMPP.Youmaalsowanttolookatalternatewastocreatelocal
WordPresssitesonWindowsusingWampserver,andonMacusingMAMP.
Ifoulikedthisarticle,thenpleasesuscrietoourYouTueChannelfor
WordPressvideotutorials.YoucanalsofindusonTwitterandFaceook.
PopularonWPeginnerRightNow!
Checklist:15Things HowtoProperlMove
YouMUTDOefore Yourlogfrom
ChangingWordPress WordPress.comto
Themes WordPress.org
Revealed:Wh HowtoFixtherror
uildingYourmail stalishinga
ListissoImportant DataaseConnection
Toda! inWordPress
Aouttheditorialtaff
ditorialtaffatWPeginnerisateamofWordPressexperts
lededalkhi.Pagemaintainededalkhi.
http://www.wpbeginner.com/wptutorials/howtocreatealocalwordpresssiteusingxampp/ 10/15
6/13/2017 HowtoCreateaLocalWordPressSiteUsingXAMPP
LAVARPLY
14COMMNT
AMY
Jun8,2017at12:48am
Hi,thanksforthisgreattutorial.
Ineedtoupdatethephp.iniasIamgettingtheerrorTheuploadedfile
exceedstheupload_max_filesizedirectiveinphp.ini.howdoIfindthison
localhost?
Thanks!
Repl
RATNHTRIPATHI
Ma21,2017at11:28am
Greatarticlesir,utIamnotaletologinintoWordPressadminpanel.
Pleaseprovidesolution
Repl
MIK
Apr12,2017at10:41am
http://www.wpbeginner.com/wptutorials/howtocreatealocalwordpresssiteusingxampp/ 11/15
6/13/2017 HowtoCreateaLocalWordPressSiteUsingXAMPP
amnotgettingthewelcometowordpresspagewhatswrong,itsgot
Indexof/wesite1atthetop
Repl
ADULMULUQ
Apr2,2017at4:47pm
pleaseitshowingmedataasenotfoundwhenItrtoinputdataasename
inmwp
Repl
DIVP
Mar30,2017at6:29am
Goodonethanksforsharing
Repl
RAYMART
Mar30,2017at4:02am
Whichismuchfaster,XAMPPorWAMP?
Repl
HADAR
Mar29,2017at2:48pm
Thanksforthedetailedguideifollowedthestepsasoutlinedaoveanit
allworkedoutwelluntilitriedtolaunchwordpressonmrowser
enteringlocalhost/wesite1Insteadoflaunching,itsshowed
Index/wesite1
pleasewhatcouldetheprolem?
Repl
WPGINNRUPPORT
Mar29,2017at11:27pm
http://www.wpbeginner.com/wptutorials/howtocreatealocalwordpresssiteusingxampp/ 12/15
6/13/2017 HowtoCreateaLocalWordPressSiteUsingXAMPP
Hihaeder,
TrtorestartXAMPP,makesureoucopiedtheWordPressfolderand
thewesite1folderactuallcontainsourWordPressfiles.
Repl
HADAR
Mar30,2017at8:44am
Thankssomuchworkingperfectlnow.
Repl
RODNYLACAMRA
Mar28,2017at9:49pm
HavingalocalWordPresssiteisgreathencetestingfunctionalit,plugins,
andthemeseforemakingitlive.
Itsalsomuchfastercomparetolive.
Thanks,greatarticle.
Repl
PAULGUZMAN
Mar27,2017at9:48pm
Thisworkedtoperfection.CantelieveIactualldidthis.Instructionswere
RightOn.Thismademda!
Repl
OHAMPRATAP
Mar27,2017at1:20pm
Muchcreativewatojustdesignputupthecontentexperimentandwhen
ouaredone!!getoursiteonline
Repl
http://www.wpbeginner.com/wptutorials/howtocreatealocalwordpresssiteusingxampp/ 13/15
6/13/2017 HowtoCreateaLocalWordPressSiteUsingXAMPP
OM
Mar27,2017at8:55am
WhataoutWampserverisitthesame?
Repl
WPGINNRUPPORT
Mar30,2017at12:16am
WAMPserverisalsoanApachedistriutionmaintaineddifferent
folks.utesitalsoallowsoutocreatelocalWordPresssitesonour
Windowscomputer.
Repl
LAVARPLY
Thanksforchoosingtoleaveacomment.Pleasekeepinmindthatallcomments
aremoderatedaccordingtoourcommentpolic,andouremailaddresswillNOT
epulished.PleaseDoNOTusekewordsinthenamefield.Let'shaveapersonal
andmeaningfulconversation.
YourRealName
EmailAddress...
Don'tsubscribe Notifmeoffollowupcommentsviae-mail.Youcanalso
suscriewithoutcommenting.
SUBMITCOMMENT
http://www.wpbeginner.com/wptutorials/howtocreatealocalwordpresssiteusingxampp/ 14/15
6/13/2017 HowtoCreateaLocalWordPressSiteUsingXAMPP
FATURDIN
Copright2009-2017WPeginnerLLC.AllRightsReserved.WPeginnerisaregisteredtrademark.
WordPresshostingHostGator|WordPressCDNMaxCDN|WordPressecuritucuri.
http://www.wpbeginner.com/wptutorials/howtocreatealocalwordpresssiteusingxampp/ 15/15