Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

htaccess file for multisite

define('MULTISITE', true);
define('SUBDOMAIN_INSTALL', false);
define('DOMAIN_CURRENT_SITE', 'cuc.dev.test');
define('PATH_CURRENT_SITE', '/');
define('SITE_ID_CURRENT_SITE', 1);
define('BLOG_ID_CURRENT_SITE', 1);
define( 'ADMIN_COOKIE_PATH', '/' );
define( 'COOKIEPATH', '/' );
define( 'SITECOOKIEPATH', '/' );
Source by bitbucket.org #
 
PREVIOUS NEXT
Tagged: #htaccess #file #multisite
ADD COMMENT
Topic
Name
8+7 =