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 abilitare l’opzione Multi-Sito in WordPress 3.0

WordPress 3.0 è il momento della grande fusione. Il nucleo di WPMU viene incorporato in WordPress, il che significa che ora è possibile gestire più blog da un’unica installazione di WordPress. Questa nuova caratteristica viene chiamata Network o opzione multi-sito. Di default questa caratteristica è disabilitata. Se volete utilizzare questa opzione in WordPress, dovete abilitarla.

Per abilitare questa caratteristica, basta aprire il file wp-config.php situato nella cartella principale di WordPress. Aggiungete quindi la seguente riga in un punto qualsiasi del file:

define('WP_ALLOW_MULTISITE', true);

Una volta fatto questo, dovreste essere in grado di accedere alla pagina del network da Strumenti ” Network

WordPress Multi-site Option

Ora non è più necessario installare più copie di WordPress, perché è possibile gestire più blog da un’unica installazione. Di default, vi sarà permesso di gestire altri blog solo come sottodomini. Per utilizzare altri domini per i blog, è possibile utilizzare un plugin Domain Mapping.

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

92 commentiLascia una risposta

  1. mohadese esmaeeli

    Hello! Is it better to have a WordPress network, or should we use the subdomains and subdirectories feature to launch side websites?
    In a WordPress network, the database is unified, and this may lead to crashes or database heaviness. What is your opinion? Which one is better?

    • WPBeginner Support

      It would heavily depend on your specific use case for what would be best to use. If you are concerned about your database size then you would want to create individual sub-sites so each has their own database.

      Admin

  2. Sean

    Worked like a charm! So ideal for a localhost environment in development of themes and plugins.

  3. Wayne Curran

    Thanks for this info about enabling multi site.

    I have a problem though. I can’t install or upgrade anything. It keeps asking for ftp details. My wordpress is running on a synology NAS.

    • WPBeginner Support

      @Wayne this problem usually occurs when WordPress is unable to write files on the server. It happens when PHP is running under mod_php or CGI as the user instead of the user that owns WordPress files. You can ask your hosting provider for support. Meanwhile you can also add your FTP credentials in wp-config.php file so that you don’t have to enter them each time.

      define( 'FTP_USER', 'username' );
      define( 'FTP_PASS', 'password' );
      define( 'FTP_HOST', 'ftp.example.org:21' );

      Admin

      • Wayne Curran

        Thanks for the reply.

        I think I need to add some more info.

        I installed wordpress on my Synology NAS via the package installer, so it’s installed locally on my NAS at home. The site isn’t hosted externally at all. Completely local. (it can be accessed from the web via a synology domain name)

        I’m currently only experimenting with building my sites. I need 3 sites hence why I need the multisite option. Without this option, I’m unable to experiment with all my sites. I can only play with one at a time.

        Anyhow, I should have also added initally that when I enter the ftp login details, they don’t work. I’ve racked my brains to try and work out what ftp details it could be after but none of them work.

        Are then specific login details for as you mentioned ‘mod_php or CGI’. I don’t even know what that means :-)

        • Wayne Curran

          Update!!

          I’ve reinstalled from scratch. All working ok now.

          But, a new question.

          In the general settings, 2 fields are missing. Wordpress address and site address.

          Any thoughts?

  4. Grant

    Where do I find the wp-config.php folder?

    • WPBeginner Support

      Grant wp-config.php is a file not a folder. You might find it in your website’s root folder. To access it connect to your website using an FTP client like Filezilla.

      Admin

  5. Nimitz

    Hi, it is possible that users has a blog on my wpmu then they can have their own domain name? same like on wordpress.com that any blog can upgrade to their own domain name?

  6. Alexander

    Would you provide a step by step guide for creating a multi-site setup on local machine using Xampp on Windows 8.

  7. Yevgen

    It seems that Domain Mapping plugin is unsupported anymore. Are there any alternatives? Is it possible to setup domains manually using functions.php?

    Thanks.

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.