Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
Coppa WPB
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

Come installare WordPress su un computer Windows (2 metodi)

Volete installare WordPress sul vostro computer Windows in locale?

Lavorare con WordPress sul computer consente di testare le nuove funzionalità di WordPress, imparare a sviluppare con WordPress e creare siti web prima di migrarli sul server live.

In questo articolo vi mostreremo come installare correttamente WordPress su un computer Windows utilizzando due metodi diversi. Questo metodo funziona su Windows 8, Windows 10 e anche su altre versioni di Windows.

How to Install WordPress on a Windows computer

Perché installare WordPress su Windows?

L’installazione di WordPress in locale sul vostro computer vi offre un ambiente di prova che non influisce sul vostro sito web o blog dal vivo. Un’installazione di WordPress sul vostro computer viene anche chiamata server locale o localhost.

Normalmente, gli sviluppatori di WordPress utilizzano un’installazione locale di WordPress per sviluppare i loro plugin e temi WordPress.

Gli utenti principianti possono anche installare WordPress sul proprio computer per imparare WordPress, testare nuovi temi e plugin WordPress e sperimentare senza influire su un sito web attivo.

Nota: se installate WordPress in locale su Windows, l’unica persona che può vedere il sito siete voi.

Se volete creare un sito web disponibile al pubblico, dovete avere un nome di dominio e un hosting web. Vi consigliamo di seguire questa guida su come aprire un blog WordPress.

Detto questo, vediamo come installare correttamente WordPress su un computer Windows. Vi mostreremo due modi semplici, quindi potete fare clic sul link sottostante per passare alla sezione che vi interessa:

Installare WordPress su Windows utilizzando WP locale

Local WP, precedentemente noto come Local by Flywheel, è un software web locale che consente di ospitare un sito web sul proprio computer anziché su un server di staging o live.

Innanzitutto, è necessario scaricare e installare il software Local WP sul proprio computer Windows. Basta andare sul sito web di Local WP e fare clic sul pulsante “Download for Free”.

Download Local by Flywheel

Successivamente, apparirà una finestra popup in cui dovrete selezionare la vostra piattaforma.

Scegliete “Windows” dal menu a discesa.

Choose Windows as your platform

Successivamente, è possibile inserire i propri dati, come nome e cognome, indirizzo e-mail di lavoro e numero di telefono, per scaricare il software.

Dopo aver inserito i dati, è sufficiente fare clic sul pulsante “Ottieni ora”.

Enter your details

Dopodiché, è possibile scaricare il software sul computer. Una volta scaricato, avviare l’installazione guidata.

Ora dovrete selezionare se volete installare il software per tutti gli utenti o solo per voi. Una volta selezionata l’opzione, fate clic sul pulsante “Avanti”.

Choose user profiles for software

Nel passaggio successivo, è possibile selezionare la “cartella di destinazione” in cui verrà installato il software.

È sufficiente fare clic sul pulsante “Sfoglia” per impostare il percorso e quindi fare clic sul pulsante “Installa”.

Select your installation path

Il software Local WP viene ora installato sul computer Windows.

Una volta terminato, è possibile selezionare la casella di controllo “Esegui in locale” e fare clic sul pulsante “Fine” nella procedura guidata di installazione.

Run local software

A questo punto il software si avvia sul dispositivo Windows.

Il passo successivo consiste nell’aggiungere un nuovo sito web locale. Per farlo, è sufficiente fare clic sul pulsante più (+) in basso.

Add a new local site

Successivamente, è possibile creare un sito nel software Local.

Selezionate l’opzione “Crea un nuovo sito” e fate clic sul pulsante “Continua”.

Create a new WordPress site

Successivamente, è possibile inserire un nome per il sito web locale, come wordpresslocalsite.

Ci sono anche opzioni avanzate in cui è possibile inserire il dominio del sito locale e il percorso del sito locale. Se si è agli inizi, si consiglia di mantenere le impostazioni predefinite.

Una volta terminato, è sufficiente fare clic sul pulsante “Continua”.

Enter a name for your site

Successivamente, è necessario scegliere un ambiente per il sito web locale.

È possibile utilizzare l’ambiente “Preferito”, in cui il software selezionerà automaticamente la versione di PHP, il server web e la versione di MySQL. D’altra parte, si può anche selezionare “Personalizzato” e inserire i dettagli dell’ambiente.

Per questa esercitazione, utilizzeremo le impostazioni preferite e faremo clic sul pulsante “Continua”.

Choose an environment

Successivamente, è possibile inserire un nome utente e una password di WordPress per il sito web locale. Inoltre, è possibile scegliere un indirizzo e-mail di WordPress per ricevere tutte le notifiche via e-mail.

C’è anche un’opzione avanzata in cui il software chiede se avete una rete WordPress multisito.

Dopo aver inserito questi dati, è sufficiente fare clic sul pulsante “Aggiungi sito”.

Select a username and password

Il software installerà ora WordPress e configurerà il vostro sito web.

Per avviare il sito web locale, fare clic sul pulsante “WP Admin” nel software.

Open WP admin

Successivamente, verrà visualizzata la pagina di accesso all’amministrazione di WordPress.

È sufficiente inserire il nome utente e la password immessi in precedenza durante la configurazione del sito web locale e fare clic sul pulsante “Accedi”.

Login page example

Ora è possibile modificare il sito web locale sul computer Windows.

Una volta terminato, non dimenticate di fermare il sito web dal software Local WP facendo clic sul pulsante “Stop site”.

Click the stop site button

Installare WordPress su Windows utilizzando WampServer

WampServer o WAMP è una compilazione di server web Apache, PHP e MySQL in bundle per computer Windows.

Sono tutti software open-source separati. Tuttavia, installarli separatamente non è facile nemmeno per gli utenti più esperti. Un software come WampServer permette di installarli facilmente e di avere un ambiente locale funzionante in pochi minuti.

Innanzitutto, è necessario scaricare il software WAMP e installarlo sul computer. Basta andare sul sito web di WampServer e cliccare sul pulsante “Start Using WampServer”.

WampServer site

Si accede alla sezione dei download. Qui vedrete due versioni: WampServer 32 bit e WampServer 64 bit.

È necessario selezionare la versione di WampServer che corrisponde al tipo di sistema operativo del computer Windows.

Select your Windows version

Per sapere se si utilizza un sistema operativo a 32 o 64 bit, è sufficiente cercare “Pannello di controllo” nella barra di ricerca della barra delle applicazioni di Start.

Successivamente, è possibile andare su Sistema e sicurezza ” Sistema del computer. Lì sarà possibile vedere il tipo di sistema.

Check system type

Ora che si conosce il tipo di sistema operativo Windows, è sufficiente selezionare la versione corretta del software WampServer.

Facendo clic sul pulsante di download, si aprirà un modulo che richiede i vostri dati personali. Se non volete fornire queste informazioni, fate pure clic sul link “Puoi scaricarlo direttamente”.

Download Wamp directly from the link

Una volta scaricato, è possibile fare clic sul file di esecuzione di WampServer per eseguire l’installazione.

Ora selezionate una lingua dal menu a discesa e fate clic sul pulsante “OK”.

Select your language

Nel passaggio successivo, verrà visualizzato il Contratto di licenza.

Selezionate l’opzione “Accetto il contratto” e fate clic sul pulsante “Avanti”.

Agree to license agreement

Successivamente, la procedura guidata di installazione mostrerà le informazioni relative all’installazione di WampServer.

È sufficiente fare clic sul pulsante “Avanti” per continuare.

Read general information and click next

Successivamente, è possibile selezionare il percorso di destinazione in cui verrà installato il software.

Per modificare la posizione predefinita, fare clic sul pulsante “Sfoglia” e scegliere la cartella preferita. Al termine, fare clic sul pulsante “Avanti”.

Select your destination folder

La procedura guidata di installazione chiederà di selezionare i diversi componenti che si desidera installare. Questi includono le versioni di PHP, MySQL e altro ancora.

È anche possibile mantenere le opzioni predefinite e fare clic sul pulsante “Avanti” per andare avanti.

Select installation components

Successivamente, è possibile selezionare una cartella del menu di avvio. Fare clic sul pulsante “Sfoglia” per scegliere una cartella diversa.

Una volta selezionata la cartella, fare clic sul pulsante “Avanti” per continuare.

Select a start menu folder

Il software è pronto per essere installato. È possibile visualizzare un riepilogo della posizione di destinazione, del tipo di installazione, dei componenti selezionati e altro ancora.

Fate quindi clic sul pulsante “Installa”.

Ready to install

Durante il processo di installazione, è necessario definire la posizione del browser web. Per impostazione predefinita, sarà Internet Explorer.

È possibile passare a Google Chrome o a qualsiasi altro browser web individuandolo nei file di programma del computer.

Select a different browser

Allo stesso modo, vi chiederà se volete usare Notepad quando usate WampServer.

Dopodiché, la procedura guidata di installazione mostrerà informazioni sul funzionamento di WampServer.

Fare clic sul pulsante “Avanti”.

Read information on how to use WampServer

Ora avete installato con successo WampServer sul vostro dispositivo Windows.

È sufficiente fare clic sul pulsante “Fine” per uscire dalla procedura guidata di installazione.

Finish the setup wizard

Una volta installato, è possibile lanciare WampServer dal collegamento sul desktop o dalla posizione di destinazione in cui è stato installato il software.

La prossima cosa da fare è creare un database MySQL vuoto.

All’avvio di WampServer, vedrete un’icona verde nell’angolo in basso a destra dello schermo insieme ad altre icone. È sufficiente fare clic con il tasto sinistro del mouse su di essa e poi su phpMyAdmin (un’applicazione basata sul web per gestire i database MySQL).

Nota: Se l’icona di WampServer è rossa o gialla, significa che i servizi (Apache, MySQL, PHP) non sono in esecuzione. È necessario avviare i servizi facendo clic sull’icona prima di configurare il database.

Open phpmyadmin from the taskbar

Si aprirà la schermata di accesso a phpMyAdmin sul browser web.

È sufficiente inserire il nome utente: root e lasciare vuoto il campo della password. Queste sono le credenziali predefinite per accedere a phpMyAdmin su localhost.

Login to your phpmyadmin panel

Fare clic sul pulsante “Vai” per continuare.

Una volta effettuato l’accesso, è necessario cliccare su Database in phpmMyAdmin per creare un nuovo database per WordPress.

Verrà chiesto di scegliere un nome per il nuovo database (noi abbiamo chiamato il nostro test_db). Dopodiché, fare clic sul pulsante “Crea”.

Create a database

Il vostro database è pronto, il che significa che ora potete installare WordPress su localhost.

La prossima cosa da fare è scaricare l’ultima versione di WordPress dal sito WordPress.org. Verrà scaricato come file zip.

Download WordPress

Successivamente, è necessario estrarre il file zip e copiare la cartella ‘wordpress’.

Per questa esercitazione, utilizzeremo WinRAR per decomprimere il file. È sufficiente fare clic sull’opzione “Estrai a” in alto.

Extract WordPress files

Ora è necessario navigare nella cartella in cui è stato installato WAMP.

In questa guida, abbiamo installato WAMP in C:\wamp64, quindi in futuro faremo riferimento a questa cartella. Tuttavia, tenete presente che potrebbe essere diversa a seconda di dove avete installato il programma.

Incollare la cartella ‘wordpress’ nella cartella C:\wamp64\www.

Paste WordPress folder to Wamp

Potete rinominare la cartella “wordpress” con qualsiasi nome, ad esempio mysite, testsite, ecc. Questo sarà l’URL del vostro sito WordPress locale, quindi assicuratevi di scegliere qualcosa che ricorderete facilmente.

Per questo tutorial, abbiamo rinominato la cartella da wordpress a mysite.

Successivamente, è possibile aprire il browser web e andare su http://localhost/mysite/ e fare clic sulla cartella ‘wordpress’.

Go to the wordpress folder

Per prima cosa, vi chiederà di selezionare una lingua e poi vi mostrerà le informazioni di configurazione del database.

Dopo aver selezionato una lingua, fare clic sul pulsante “Continua”.

Select a language

Successivamente, verrà visualizzato un avviso di benvenuto a WordPress.

Una volta letto con attenzione, fare clic sul pulsante “Let’s go” per continuare.

Welcome to WordPress notice

Successivamente, è necessario inserire i dettagli del database, come il nome del database, il nome utente, la password, l’host e il prefisso della tabella.

Il nome del database sarà quello inserito nel passaggio precedente. Nel nostro caso, lo abbiamo chiamato “test_db”. Il nome utente sarà ‘root’ e si può lasciare vuoto il campo della password. Si possono anche lasciare invariati l’host del database e il prefisso della tabella.

Enter username and password

Quindi, fare clic sul pulsante “Invia” e WordPress creerà un file di configurazione per voi nel backend.

Nella schermata successiva, verrà visualizzato un messaggio di successo che indica che WordPress è connesso al database e che è possibile procedere con l’installazione.

Fare clic sul pulsante “Esegui l’installazione” per continuare.

Click run the installation

Si aprirà la schermata di benvenuto di WordPress. È necessario aggiungere un titolo per il nuovo sito web WordPress, scegliere un nome utente amministratore, inserire una password forte e fornire un indirizzo e-mail amministratore.

Una volta pronti, fate clic sul pulsante “Installa WordPress”.

Enter login information

Al termine del processo di installazione, verrà visualizzato un messaggio di successo. In background, WordPress ha creato nuove tabelle nel database ed è pronto all’uso.

Potete quindi accedere alla vostra dashboard di WordPress facendo clic sul pulsante “Accedi”.

Log in to your admin panel

Congratulazioni, avete installato con successo WordPress su un computer Windows utilizzando WampServer.

È sufficiente accedere al pannello di amministrazione di WordPress e iniziare a modificare il sito in un ambiente locale.

Logging into a local WordPress website

Abilitazione dei permalink graziosi in WAMP

La nuova versione di WordPress non rompe il vostro sito locale modificando l’impostazione dei permalink.

Tuttavia, se dopo aver modificato i permalink da Impostazioni ” Permalinks in WordPress, le pagine continuano a presentare l’errore “pagina non trovata”, seguite la nostra guida su come abilitare i permalink personalizzati in WAMP.

Bonus: Migrazione di WordPress da Local a Live

Abbiamo anche scritto una guida separata su come spostare WordPress dal server locale a un sito live. Speriamo che vi sia utile quando sarete pronti a distribuire il vostro sito locale in produzione.

Avere un ambiente server locale è ottimo per scopi di apprendimento e di test. Tuttavia, se volete aprire un blog WordPress che sia visibile ad altre persone, non avete bisogno di installare WordPress sul vostro computer. È necessario installare WordPress su un provider di hosting WordPress.

Speriamo che questo articolo vi abbia aiutato a capire come installare WordPress su un computer Windows. Potreste anche voler consultare le nostre guide su WordPress SEO e su come avviare un negozio online.

Se questo articolo vi è piaciuto, iscrivetevi al nostro canale YouTube per le esercitazioni video su WordPress. Potete trovarci anche su Twitter e Facebook.

Divulgazione: I nostri contenuti sono sostenuti dai lettori. Ciò significa che se cliccate su alcuni dei nostri link, potremmo guadagnare una commissione. Vedi come WPBeginner è finanziato , perché è importante e come puoi sostenerci. Ecco il nostro processo editoriale .

Avatar

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

Il kit di strumenti WordPress definitivo

Ottenete l'accesso gratuito al nostro kit di strumenti - una raccolta di prodotti e risorse relative a WordPress che ogni professionista dovrebbe avere!

Reader Interactions

767 commentiLascia una risposta

  1. Syed Balkhi

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. mike

    installed wamp Apache/2.4.9 (Win32) PHP/5.5.12, downloaded wordpress, configured wp-config nothing, absolutely nothing happens.

    Any thoughts?

  3. Villi

    Hey. So everything worked great and i have been playing around practicing. Now i am going to make another website but keep the practice website also, but i need them to be completely independent from each other since i dont want my “messing around” to affect the new one :) Should i install wordpress again and follow the same instructions (extract the wordpress folder to C:\wamp\www etc.) and make another database ?

    In short, should i follow exactly the same process as before, except i would not need to download wamp again obviously.

    Thank you

  4. Wayne

    Great article. I have managed to get everything up and running. But have not got stuck when I try to upload a Theme I have purchased. I have a personal live site using WordPress. But wanted to build one offline for my workplace, hence I am using phpAdmin. Any ideas please how I can work on purchased themes on a localhost?

    • WPBeginner Support

      Installing a purchased theme is no different on a localhost site than on a live site. Simply go to Appearance > Themes on your localhost site. Click on the Add New button and then click on the Upload button. Click on the choose file button to locate the Theme Zip file from your computer and then upload it.

      Admin

  5. Manoj

    Hi

    I had installed everything as per the guide here and my site was working fine. Today, however, i tried to loginto localhost and it gives an error. It says this webpage is not available. ERR_CONNECTION_REFUSED

    Kindly help

  6. naveenraj

    hi sir,

    The icon says in orange colour and i getting blank pages when i go for localhost/phpmyadmin/ page, Please help t resolve this.

  7. bella

    “Go to C:\wamp\www and paste wordpress folder there.”

    I can’t seem to find anywhere that accepts my wordpress folder. Does anybody have more detailed description to do this step for me? Thank you very much for all you sharing people

    • Ayesha

      Hi,

      Once you go to wordpress.org and install wp, you will have a wordpress zip folder, extract its contents and it would create a wordpress folder, open this folder and copy the folder named wordpress. Now goto your wampserver folder and then open www folder that lies insides wampserver folder, paste the folder wordpress over there i.e. inside www folder.
      You just have to copy your wordpress folder and paste it in the www folder of wampserver.

      Hope that helps!

  8. Kush Singh

    Really it’s very helpful site for installing wordpress.
    Nice work guys keep it up…

  9. Satish Shihani

    Superb….. I really like this
    On my first attempt only, i done all installation without any error

    Thank you so much for this tutorial

  10. Amir

    Smooth and fun, worked like a charm. I had only one problem which was resolved by shutting down a certain Microsoft product… :-)
    Thank you.

  11. Paul

    Great tutorial glad I found it as I am just learning how to use wamp and my local server to build wordpress sites. I would also like to copy a live wordpress site to my local server so I could modify a theme, then reload it to the remote server and was wondering if there was a tutorial on how to do that? I have found and read the tutorial on uploading a site from my local server to the remote one but nothing on copying a live site to the local server and getting it to work. Is this possible and if so, do you have a tutorial on how to achieve it successfully? Thanks in advance.

  12. Kvaibahv01

    Hey there,

    I had created a WordPress blog earlier this month and my WAMP server was uninstalled due to some reasons….I reinstalled it>did all the same steps> named the ‘wordpress’ folder to ‘site’> opened localhost/site/wp-admin which says :

    Welcome to WordPress. Before getting started,………………………….before proceeding.

    Database name
    Database username
    Database password
    Database host
    Table prefix (if you want to run more than one WordPress in a single database)
    We’re going…………We got it.

    In all …………… all ready…

    I clicked ‘Let’s go’ button which opened ‘Setup config.File’ entered my DB name ‘site’> ‘username’ and ‘password’ I edited on ‘wp-config-sample.php’ and changed username to blank and same with password too> Click next and now it shows me an error “Can’t select database”:

    We ………………. database.

    Are you sure it exists?
    Does the user have permission to use the site database?
    On some systems the name of your database is prefixed with your username, so it would be like username_site. Could that be the problem?
    If you don’t know how to set up a database you should contact your host. If all else fails you may find help at the WordPress Support Forums.

    Please help!

  13. Geraldine

    Hello. I hope you can help me with this. After I created the test site, how can I share this to my friend via online?

  14. Rhian Williams

    thank you so much for this I have been battling with localhost software all day and this worked first time for me :-)

  15. moneytechnicals

    Ive installed WAMP in windows 7 32 bit. And want to use wordpress. But its not showing to create configuration file. Its showing an error like this-

    Warning:
    require(C:wampwwwwordpress-trunk/wp-blog-header.php): failed to open
    stream: No such file or directory in
    C:wampwwwwordpress-trunkindex.php on line 18

    Please help me to get out of this. Thank you in advance.

    • Campbell Sinclair

      Hello and to anyone who googles this error and is stuck like I was on this,

      You likely downloaded the zip installer and extracted them, maybe cancelled it some point because the extraction / transfer of the folder inside was slow. I’m not sure what happened, not the point either.

      This error occurs when not all the files are present. Try and hunt down wp-blog-header in your WordPress folder directory with a simple search. The index page (one that is first loaded by a browser when it opens a directory) is only asking for this file but it simply won’t be there with it in the directory. Index.php is asking for wp-blog-header and everyone else said I’m not the file you’re looking for.

      I downloaded the version prior and it was complete because I had the installation page as expected. This is the quickest and certain fix. If you do this, you will should be able to upgrade to the latest once you have installed as well.

  16. ArtaGene

    Since I didn’t see any specs listed, not sure my old computer will have enough memory…can I install on a portable drive (connects with USB) and use that way ?

  17. WPBeginner Staff

    Seems like WAMP didn’t install correctly on your computer. Try installing again or try XAMP.

  18. jerry

    I get this error right at the end of the installation.

    httpd.exe – system error

    The program can’t start because MSVCR110.dll is missing from your computer. Try reinstalling the program to fix this
    problem

  19. nikhil

    i have install wamp server but when i am going to phpMyAdmin it is showing error like this:-

    Forbidden

    You don’t have permission to access /phpmyadmin/ on this server.

  20. Roshan Bagdiya

    error
    #1045 – Access denied for user ‘root’@’localhost’ (using password: NO)

    while accesing phpmyadmin
    how to resolve it

  21. Diviya

    Followed your procedure step wise. Now when I try to setup database for WordPress, when I click on phpMyadmin I get error ‘HTTP Error 404. The requested resource is not found’

  22. Carrie

    FYI, the “Skype” error also happens with a similar program called Team Viewer. A similar simple fix, going in to the program and changing the checkbox regarding ports 80 and 443. I agree with others, if nothing else you should put a link to the troubleshooting info in the article right after the WAMP installation. I got frustrated that I kept getting an error, and decided to look through the comments until I found a solution.

  23. Aditya Pranav

    Done all thing , but when I click on phpMyadmin the an error page will open in browser and that is :-
    HTTP Error 404.0 – Not Found
    The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.

  24. Derick

    Howe about adding a tutorial that continues from this one on how to add multiple websites to be worked on offline like the above one.

  25. Vijay

    Thanks so much for this. It worked for me.

    My only complaint is that the skype error should have been right after the WAMP installation part. I spent a lot of time figuring out how to get the WAMP icon to go green instead of orange. Ultimately found out that IIS 8.5 was using port 80 and that I had to stop WWW publishing services from Services.msc and restart the Apache on WAMP to get it to work.

  26. M♥ηyαηє Ramołło™

    Great tutorial

  27. Jim

    Great tutorial. Big thanks. Only you should post the info on Skype port before in the beginning, as I did everything by myself and changed the port number in wamp folder. Then here I found out that there was easier way doing it on Skype ;)

  28. lobsterhands

    Great tutorials. Thank you for being so clear and concise.

  29. Lis

    Fab article! I’m all installed and working. However, any additional pages I am creating over and above the home page don’t work. I am creating the page in WordPress, but when following the ‘View’ link, I get a 404. Any idea?

  30. pramod

    Downloaded everything. when i write on web http://localhost/mysite/ but display error

    The requested URL /mysite/ was not found on this server.

  31. St. Buzo of C.O.B. ®

    Bingo..!! this was so helpful.!! Phase one done i have installed..!!

  32. anbu

    dear sir,
    this blog is very usefull to me..as per your instruction i create a website locally. but when i try to open the same site from different machine in tha same lan i can’t.please guide me.
    i tried via this following method in another computer
    1.http://192.168.1.88/(sitename).
    2.http://localhost/(sitename)

    the site is not opening

  33. anbu

    dear sir,
    this blog is very usefull to me..as per your instruction i create a website locally. but when i try to open the same site from different machine in tha same lan i can’t.please guide me.
    i tried via this following method in another computer
    1.http://192.168.1.88/(sitename).
    2.http://localhost/(sitename)

    • Lyle Denman

      http://forum.wampserver.com/read.php?2,121118

      This should answer many of your questions. Know that you will also have to update your database’s options (from localhost/phpmyadmin/). wp_options > siteurl and wp_options > home should be changed from http://localhost/database_name to http://your_local_ip_address/database_name (for example http://192.168.0.11/coolsite/).

      Make sure you open c:/wamp/bin/apache/apache2.4.9/conf/httpd.conf

      In that file, after the line reading: # onlineoffline tag – don’t remove, add the following 2 lines:
      Require all granted
      Require ip 192.168.0 (or whatever the first 3 groupings of your local ipv4 address is)

      Then, in the same file, find the line reading: #Include conf/extra/httpd-vhosts.conf and remove the # from the beginning of that line.

      Then, open the file c:/wamp/bin/apache/apache2.4.9/conf/extra/httpd-vhosts.conf and comment out the code that is there (just to keep defaults around) and past the following:

      ServerName localhost
      DocumentRoot c:/wamp/www

      AllowOverride All

      Save those files, restart all WAMP services and enjoy your LAN development.

  34. Lina

    This post was VERY helpful!! Thank you very much!

  35. WPBeginner Staff

    First you need to uninstall wampserver completely from your computer. Then download a fresh copy and try to reinstall. If this does not work out, then we will recommend you to use XAMPP which is an alternate software with nearly the same software (Apache, php, mysql).

    • Jokerman

      I tried EasyPhP too but that didn’t work either. Have just installed Xampp and that appears to be working. Thanks very much for the advice.

  36. Jokerman

    I have downloaded and attempted an install. It didn’t work as I was missing a dll file. Have downloaded the necessary software from MS and this time the install appeared to have gone well…no error messages and the Wampserver icon has appeared on my desktop as requested. However when I click on the Wampserver icon it asks: Do you want to the following program from an unknown publisher to make changes to your computer? (Program name: wampmanager.exe) Clicking on Yes causes that window to close then nothing happens. Do you have any clues as to what to try next please? Thank you

  37. cmills

    The latest version of wamp uses PHP 5.5.12 which isn’t compatible with WordPress!

  38. WPBeginner Staff

    That’r probably because your site is served at 127.0.01 which is a local loop address while the other ip address is your lan address. They are two different things.

    To enable sharing you need to add this line to your httpd.conf file Listen 192.168.1.4:80 make sure your computer is using static ip and it is set to use the ip address you enter in apache configuration file.

    You will also need to make sure that WordPress saves your IP address as your sites URL not localhost. To achieve this you would need to install wordpress from 192.168.1.4/mysite instead of localhost/mysite

  39. archetypechris

    Hello, and thank you for the amazing guide! I have a small
    problem. Everything worked find when I followed the guide and my site loads up
    fine, but when I try to connect to it from another computer in my house with
    address: 192.168.1.4/mysite, it says I don’t have permission to view the page.
    Does anyone know how to fix this? Thank
    you!

  40. Anji

    It is my first time creating a website in WP and his post was easy and it worked like a charm! Thank you so much!

  41. WPBeginner Staff

    George,

    The WordPress you install on your local computer is only available on that computer.

    There are specialized software that allow you to install Wampserver on a USB stick which you can then carry with you to work.

    • George

      Thanks for the speedy reply,

      Today I installed Wamp on my work laptop and using phpadmin exported my sql database from my home computer and imported it to my work laptop.

      I tried mirroring the process above on my work laptop and named the database the same thing. I was able to get into my site on my work laptop but is seems my plugins and theme haven’t transferred. Am I missing a step? Must I transfer another folder?

      I was planning on working on a local server doing this transfer sequence between work and home and was wondering if it can even be done (I heard about url linking problems) A short check list or play by play of what I must do would be very helpful.

      Thank you,

      -George

  42. rustomQ

    excellent guide!!!!!! got everything up and running the first time!!! thank you oh so much!!!! :)

  43. George

    This Work wonderfully! I’ve been word pressing for a couple of days and have made some progress over the weekend.

    One Problem:

    How can I take what I have on my home computer and work on it on my work computer in the office? Can I upload this to wordpress and work on it from anywhere? (I am fine with having a http://www.website.wordpress.com url while I am developing) What are my options to working and showing my development work after following the process above.

    I am a complete newbie but willing to learn, a quick tutorial on that process and options would be greatly appreciated. Great work so far and thank you for all the resources you guys provide.

  44. Thomas

    *facepalm* There is a link just above to resolve the problem. Sorry about that! Thanks again for this great tutorial!

Lascia una risposta

Grazie per aver scelto di lasciare un commento. Tenga presente che tutti i commenti sono moderati in base alle nostre politica dei commenti e il suo indirizzo e-mail NON sarà pubblicato. Si prega di NON utilizzare parole chiave nel campo del nome. Avremo una conversazione personale e significativa.