WP MULTISITE – SUBDOMAINS GETTING CREATED BUT SITE NOT SHOWING
-
Hi! The main site works fine and subdomains can be created from it without any problem but the URL of the created subdomains are empty. The subdomain URL opens fine but without showing any content in it rather than CGI-bin folder. Have tried to reinstall WP several times but all in vain.
Kindly assist, I am using Cpanel.
Herein below are the important part of the config:-
/*Multisite */
define( ‘WP_ALLOW_MULTISITE’, true);define(‘MULTISITE’, true);
define(‘SUBDOMAIN_INSTALL’, true);
define(‘DOMAIN_CURRENT_SITE’, ‘example.com’);
define(‘PATH_CURRENT_SITE’, ‘/’);
define(‘SITE_ID_CURRENT_SITE’, 1);
define(‘BLOG_ID_CURRENT_SITE’, 1);
/* That’s all, stop editing! Happy blogging. */Herein below are the content of htaccess:-
# BEGIN WordPress
<IfModule mod_rewrite.c>
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]
</IfModule># END WordPress
Kindly assist.
- The topic ‘WP MULTISITE – SUBDOMAINS GETTING CREATED BUT SITE NOT SHOWING’ is closed to new replies.