Multisite Subdomain setup Problem
-
Hello,
I just installed WP Multisite for the first time ever, using Softlicious on Siteground.Out of the box, the structure is subdirectories EG:
https://domain.com/sub
But I want subdomains EG:
https://sub.domain.comI checked the codex on this (and a few tutorials) and followed the instructions:
1. Update wp-config.php
CHANGE: define(‘SUBDOMAIN_INSTALL’, false);
TO: define(‘SUBDOMAIN_INSTALL’, true);DONE!
2. update the .htaccess file
REPLACE WITH:
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]DONE!
But when I create a site as the admin, and the URL is correct:
https://sub.domain.comWhen I click to view the site I get:
This site can’t be reached
action.bookz.blog’s server IP address could not be found.
Search Google for action bookzz blog
ERR_NAME_NOT_RESOLVEDAlthough the main domain resolves fine.
What did I miss?
- The topic ‘Multisite Subdomain setup Problem’ is closed to new replies.