A WordPress multisite network Allows you to run and manage multiple WordPress sites from a single WordPress installation. Just like I could Dot Com makes Multisite from blog.sayabisa.com. Actually, at the time of installation can be directly checked multisite if the initial intention to create a website with WordPress multisite, but there were already make single and want to upgrade to multisite.
There are 2 options in making this multisite, namely:
blog.sayabisa.com = subdomains
sayabisa.com/blog = sub-directories
Immediately, step by step:
1. create additional wp_config.php
define ( 'WP_ALLOW_MULTISITE', true);
2. of this method is usually directly will automatically be used for sub-directories, then why do not want to be subdomains.
define ( 'SUBDOMAIN_INSTALL', true);
Well after can appear its network means it is successful, live permuted by logging in to
your_domain / wp-admin / network / setup.php
copy into wp_config.php
define ( 'MULTISITE', true);
define ( 'SUBDOMAIN_INSTALL', true);
define ( 'DOMAIN_CURRENT_SITE', 'blog.sayabisa.com');
define ( 'PATH_CURRENT_SITE', '/');
define ( 'SITE_ID_CURRENT_SITE', 1);
define ( 'BLOG_ID_CURRENT_SITE', 1);
and copy into .htaccess (to get in here to use FileZilla or by ftp to see the .htaccess file)
RewriteEngine On
RewriteBase /
RewriteRule ^ index \ .php $ - [L]
# Add a trailing slash to / wp-admin
RewriteRule ^ wp-admin $ wp-admin / [R = 301, L]
RewriteCond% {REQUEST_FILENAME} -f [OR]
RewriteCond% {REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^ (wp (content | admin | includes). *) $ 1 [L]
RewriteRule ^ (. * \. Php) $ $ 1 [L]
RewriteRule. index.php [L]
Once completed, Wordpress multisite could've used, remember also to be able to create a new subdomain must also be made in accordance with the subdomain in cpanel subdomain created, because it is important to issue a subdomain to a wider network (internet).
Indonesia
A WordPress multisite network allows you to run and manage multiple WordPress sites from a single WordPress installation. Layaknya Saya Bisa Dot Com yang membuat Multisite dari blog.sayabisa.com. Sebenarnya pada saat instalasi bisa saja langsung dicentang multisite jika dari awal berniat membuat website dengan Wordpress multisite, akan tetapi ada yang sudah terlanjur membuat single dan ingin meng-upgrade menjadi multisite.
Ada 2 pilihan dalam pembuatan multisite ini, yaitu:
- blog.sayabisa.com = subdomains
- sayabisa.com/blog = sub-directories
Langsung saja step by step:
1. membuat tambahan pada wp_config.php
define( 'WP_ALLOW_MULTISITE', true );
define( 'WP_ALLOW_MULTISITE', true );
2. dari cara ini biasanya langsung akan otomatis bisa digunakan untuk sub-directories, lalu bagaimana kalau ingin menjadi subdomain.
define( 'SUBDOMAIN_INSTALL', true );
Nah setelah bisa muncul network-nya berarti sudah berhasil, tinggal dirubah-rubah dengan masuk ke
domain_anda/wp-admin/network/setup.php
copy ke dalam wp_config.php
define('MULTISITE', true);
define('SUBDOMAIN_INSTALL', true);
define('DOMAIN_CURRENT_SITE', 'blog.sayabisa.com');
define('PATH_CURRENT_SITE', '/');
define('SITE_ID_CURRENT_SITE', 1);
define('BLOG_ID_CURRENT_SITE', 1);
dan copy ke dalam .htaccess (untuk masuk sini gunakan filezilla atau dengan cara ftp untuk melihat file .htaccess)
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
# add a trailing slash to /wp-admin
RewriteRule ^wp-admin$ wp-admin/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
RewriteRule ^(.*\.php)$ $1 [L]
RewriteRule . index.php [L]
Setelah selesai, Wordpress multisite sudah bisa digunakan, perlu diingat juga untuk bisa membuat subdomain baru harus pula dibuat subdomain pada cpanel sesuai dengan subdomain yang dibuat, karena hal ini penting dalam menerbitkan subdomain tersebut ke jaringan yang lebih luas (internet).
No comments:
Post a Comment