WP Multisajt.pdf

Embed Size (px)

Citation preview

  • 7/30/2019 WP Multisajt.pdf

    1/4

    Search WordPress.org

    CodexCodex

    Contents

    [hide]

    1 Step 0: Before You Begin

    2 Step 1: Prepare Your WordPress

    3 Step 2: Allow Multisite

    4 Step 3: Installing a Network

    5 Step 4: Enabling the Network6 Step 5: Network Admin Settings

    7 Step 6: Administration

    8 Related Articles

    Create A Network

    Languages: English Franais Portugus do Brasil () (Add your lan guag e)

    As ofWordPress 3.0, you have the ability to create a network ofsites by using the multisite feature. This article contains instructions

    for creating a multisite network.

    A multisite network can be very similar to your own personal v ersion of WordPress.com. End users of your network c an c reate their

    own sites on demand, just like end users of WordPress.com can create blogs on demand. If you do not have any need to allow end

    users to create their own sites on demand, you can create a multisite network in which only you, the administrator, can add new

    sites.

    A multisite network is a c ollection of sites that all s hare the s ame WordPress inst allation. They can als o s hare plugins and t hemes.

    The individual sites in the network are virtual sites in the sense that they do not have their own directories on your server, although

    they do have separate directories for media uploads within the shared installation, and they do have separate tables in the database.

    NOTE: If you are currently running WordPress MU, you do not need to complete these steps. your network is already enabled.

    Once you upgrade to the 3.x branch, you will be prompted to update your .htacces s rules for MultiSite. As of the release of

    WordPress 3.1, you will need to upgrade WPMU manually. You can no longer use the auto-upgrade tool to move from WPMU to

    Multisite.

    NOTE:Upgraded and can't find the Network Admin menu?

    Step 0: Before You Begin

    Compared with a typical single WordPress installation a network installation has additional

    considerations. You must decide if you want to use subdomains or subfolders and how you

    want to manage them. Installing themes and plugins is different: for example, each individual

    site of a network can activate both, but install neither.

    This guide describes how to install manually WordPress Multisite in your current WordPress

    installation. There are also available ready-to-run packages from BitNami.

    Please read Before You Create A Network in full before continuing.

    Step 1: Prepare Your WordPressYour existing WordPress site will be updated when creating a network. Unless this is a fresh

    install and you have nothing to lose, please backup your database and files.

    Also deactivate all active plugins. You can reactivate them again after the network is created.

    If you plan to run WordPress out of its own directory, do that before activating Multisite.

    Home Page

    WordPress Lessons

    Getting Started

    Working with

    WordPress

    Design and Layout

    Advanced Topics

    Troubleshooting

    Developer Docs

    About WordPress

    Codex Resources

    Community portal

    Current events

    Recent changes

    Random page

    Help

    Showcase Themes Plugins Mobile Support Get Involved About Blog Hosting Download WordPressDownload WordPress

    Codex tools: Log in

    http://codex.wordpress.org/Before_You_Create_A_Networkhttp://codex.wordpress.org/Before_You_Create_A_Networkhttp://codex.wordpress.org/Current_eventshttp://codex.wordpress.org/Codex:Community_Portalhttp://codex.wordpress.org/Advanced_Topicshttp://codex.wordpress.org/Blog_Design_and_Layouthttp://codex.wordpress.org/WordPress_Lessonshttp://codex.wordpress.org/Main_Pagehttp://wordpress.org/http://wordpress.org/http://wordpress.org/http://codex.wordpress.org/index.php?title=Special:UserLogin&returnto=Create_A_Networkhttp://wordpress.org/download/http://wordpress.org/hosting/http://wordpress.org/news/http://wordpress.org/about/http://make.wordpress.org/http://wordpress.org/support/http://wordpress.org/extend/mobile/http://wordpress.org/extend/plugins/http://wordpress.org/extend/themes/http://wordpress.org/showcase/http://codex.wordpress.org/Help:Contentshttp://codex.wordpress.org/Special:Randomhttp://codex.wordpress.org/Special:RecentChangeshttp://codex.wordpress.org/Current_eventshttp://codex.wordpress.org/Codex:Community_Portalhttp://codex.wordpress.org/About_WordPresshttp://codex.wordpress.org/Developer_Documentationhttp://codex.wordpress.org/Troubleshootinghttp://codex.wordpress.org/Advanced_Topicshttp://codex.wordpress.org/Blog_Design_and_Layouthttp://codex.wordpress.org/Working_with_WordPresshttp://codex.wordpress.org/Getting_Started_with_WordPresshttp://codex.wordpress.org/WordPress_Lessonshttp://codex.wordpress.org/Main_Pagehttp://codex.wordpress.org/Giving_WordPress_Its_Own_Directoryhttp://codex.wordpress.org/WordPress_Backupshttp://codex.wordpress.org/Before_You_Create_A_Networkhttp://codex.wordpress.org/User:Beltranrubo/BitNami_Multisitehttp://codex.wordpress.org/Multisite_Network_Administration#Network_Admin_Link_Locationhttp://codex.wordpress.org/WPMUhttp://codex.wordpress.org/Glossary#Multisitehttp://codex.wordpress.org/Glossary#Sitehttp://codex.wordpress.org/Glossary#Networkhttp://codex.wordpress.org/Version_3.0http://codex.wordpress.org/Multilingual_Codex#Language_Cross_Referencehttp://codex.wordpress.org/zh-cn:%E5%88%9B%E5%BB%BA%E7%AB%99%E7%82%B9%E7%BD%91%E7%BB%9Chttp://codex.wordpress.org/%D0%A1%D0%BE%D0%B7%D0%B4%D0%B0%D0%BD%D0%B8%D0%B5_%D1%81%D0%B5%D1%82%D0%B8http://codex.wordpress.org/pt-br:Crie_uma_Redehttp://wpdocs.sourceforge.jp/Create_A_Networkhttp://codex.wordpress.org/fr:Cr%C3%A9er_un_r%C3%A9seauhttp://codex.wordpress.org/Multilingual_Codexhttp://codex.wordpress.org/Create_A_Network#Related_Articleshttp://codex.wordpress.org/Create_A_Network#Step_6:_Administrationhttp://codex.wordpress.org/Create_A_Network#Step_5:_Network_Admin_Settingshttp://codex.wordpress.org/Create_A_Network#Step_4:_Enabling_the_Networkhttp://codex.wordpress.org/Create_A_Network#Step_3:_Installing_a_Networkhttp://codex.wordpress.org/Create_A_Network#Step_2:_Allow_Multisitehttp://codex.wordpress.org/Create_A_Network#Step_1:_Prepare_Your_WordPresshttp://codex.wordpress.org/Create_A_Network#Step_0:_Before_You_Beginhttp://toggletoc%28%29/http://wordpress.org/
  • 7/30/2019 WP Multisajt.pdf

    2/4

    Tools Network Screen

    Step 2: Allow MultisiteTo enable the Network Setup menu item, you must first define multisite in the wp-config.php file.

    Open up wp-config.php and add this line above where it says /* That's all, stop editing! Happy blogging. */. If it doesn't

    say that anywhere, then add the line somewhere above the first line that begins with require orinclude:

    /* Multisite */

    define('WP_ALLOW_MULTISITE', true)

    You will need to refresh your browser to continue.

    Step 3: Installing a NetworkThe previous step enables the Network Setup item in your Tools menu. Use that menu item to go to the Create a Network of

    WordPress Sites screen.

    To see an example of the Create a Network of WordPress Sites screen, look at Administration >

    Tools > Network Setup. The screen does not look exactly the same in all circumstances. The

    example shown is for an installation on localhost, which restricts the options available.

    Addresses of Sites in your Network

    You are given the choice between sub-domains and sub-directories, except when existing settings

    restrict your choice.

    You must choose one or the other. You can reconfigure your network to use the other choice after installation, despite the advice on

    the screen, but reconfiguring it might not be easy.

    You only need wildcard DNS for on-demand domain-based sites, despite the advice that may be on the screen.

    Once more: See Before You Create A Network.

    Sub-domains a domain-based network in which on-demand sites use subdomains

    Sub-directories a path-based network in which on-demand sites use paths

    Network Details

    These are filled in automatically, but you can make changes.

    Server Address

    The domain of the URL you are using to access your WordPress installation.

    Network Title

    The title of your network as a whole.

    Admin E-mail Address

    Your email address as super admin of the network as a whole.

    Double-check the details and press the Install button.

    Note: The installer may perform a check for wildcard subdomains when you have not configured them yet, or when you do not need

    them at all. Ignore the warning if it does not apply to your network. See the Server Requirements section in Before You Create A

    Network for information about wildcard subdomains.

    Step 4: Enabling the NetworkTo enable your network, follow the instructions on the Create a Network of WordPress Sites screen. The instructions that you see are

    http://codex.wordpress.org/Before_You_Create_A_Networkhttp://codex.wordpress.org/Before_You_Create_A_Network#Server_Requirementshttp://codex.wordpress.org/Before_You_Create_A_Networkhttp://codex.wordpress.org/Before_You_Create_A_Network#WordPress_Settings_Requirementshttp://codex.wordpress.org/Tools_Network_Screenhttp://codex.wordpress.org/Administration_Screens#Toolshttp://codex.wordpress.org/Administration_Screenshttp://codex.wordpress.org/Editing_wp-config.phphttp://codex.wordpress.org/File:network-create.pnghttp://codex.wordpress.org/File:network-create.png
  • 7/30/2019 WP Multisajt.pdf

    3/4

    Tools Network Created

    customized for your installation. They might not be the same as the examples you see here.

    Back up your existing wp-config.php and .htaccess files, unless this is a fresh install and you

    have nothing to lose.

    There are two steps:

    1. Add the specified lines to yourwp-config.php file

    The extra lines go just after where you added the line in Step 1: Prepare Your WordPress.

    2. Add the specified lines to your.htaccess file

    If you do not have a .htaccess file, then create it in the same directory as your wp-config.php file.

    In some cases you might also have to add Options FollowSymlinks at the start of the file.

    After c ompleting these steps, log in again using the link provided. You might have to clear your browser's c ache and cookies in order

    to log in.

    Step 5: Network Admin Settings

    At the left of your WordPress toolbar, My Sites is now the second item. There, all your sites are listed, with handy fly-out menus, as

    well as a Network Admin menu item. UnderNetwork Admin you can use the Dashboard item to go to the Network Dashboard

    screen.

    Go to the Settings Screen to configure network options, and the Sites Screen to manage your sites.

    For more information, see: Network Admin

    Upgraded and can't find the Network Admin menu?

    Step 6: AdministrationThere are some additional things you might need to know about advanced administration of the network, due to the additional

    complexity of a Multisite. Even if you're familiar with WordPress, the location and behavior of Multisite Network Administration can be

    confusing.

    Read Multisite Network Administration for more information.

    For help troubleshooting:

    Debugging a WordPress Network

    Migrating Multiple Blogs into WordPress 3.0 Multisite

    Related ArticlesSetting up Top-Level Domains Using the Domain Mapping Plugin

    Getting setup on Windows Servers

    Hosting WordPress

    Installing Multiple Blogs

    http://codex.wordpress.org/Installing_Multiple_Blogshttp://codex.wordpress.org/Hosting_WordPresshttp://lauragentry.com/blog/2010/07/30/how-to-create-a-wordpress-3-0-multisite-network-on-a-windows-server-using-sub-directories/http://wordpress.org/extend/plugins/wordpress-mu-domain-mapping/http://codex.wordpress.org/Migrating_Multiple_Blogs_into_WordPress_3.0_Multisitehttp://codex.wordpress.org/Debugging_a_WordPress_Networkhttp://codex.wordpress.org/Multisite_Network_Administrationhttp://codex.wordpress.org/Multisite_Network_Administration#Network_Admin_Link_Locationhttp://codex.wordpress.org/File:icon_question.gifhttp://codex.wordpress.org/Network_Adminhttp://codex.wordpress.org/Network_Admin#Siteshttp://codex.wordpress.org/Network_Admin#Settingshttp://codex.wordpress.org/Create_A_Network#Step_1:_Prepare_Your_WordPresshttp://codex.wordpress.org/Editing_wp-config.phphttp://codex.wordpress.org/File:network-admin-link.pnghttp://codex.wordpress.org/File:tools-network-created.pnghttp://codex.wordpress.org/File:tools-network-created.png
  • 7/30/2019 WP Multisajt.pdf

    4/4

    Privacy | License / GPLv2 See also: Hosted WordPress.com | WordPress.TV Videos | WordCamp Events | BuddyPress Social Layer| bbPress Forums | WP Jobs | Matt

    Categories: WPMS | Network | UI Link | Hosting

    Like 541k Follow

    Follow @WordPress@WordPress

    https://twitter.com/intent/follow?original_referer=http%3A%2F%2Fcodex.wordpress.org%2FCreate_A_Network&region=follow_link&screen_name=WordPress&tw_p=followbutton&variant=2.0http://codex.wordpress.org/index.php?title=Category:Hosting&action=edit&redlink=1http://codex.wordpress.org/Category:UI_Linkhttp://codex.wordpress.org/Category:Networkhttp://codex.wordpress.org/Category:WPMShttp://codex.wordpress.org/Special:Categorieshttp://ma.tt/http://jobs.wordpress.net/http://bbpress.org/http://buddypress.org/http://central.wordcamp.org/http://wordpress.tv/http://wordpress.com/?ref=wporg-footerhttp://wordpress.org/about/license/http://wordpress.org/about/privacy/