I’ve come hoping someone here can help. I’ve been a hobbyist WP site builder for a while, and even installed a running multisite before. This has me stumped.
I’m currently helping my friend build a network of sites. She’s on a shared hosting package, and the main site for her multisite is NOT the primary site in Cpanel. I created the network, and everything’s gone fine–until the domain mapping.
Once we map the domains, the result is a big, empty white screen. I’ve tried EVERYTHING I know to do, and attempted some fixes found here as well. Nothing’s worked. Any suggestions? I’d be so grateful.
Details:
– Shared hosting via Stablehost
5 sites total on the *hosting* account (Primary, Multisite Main (2 subdomains), 3rd “top level” site
Primary site is NOT the one being used for multisite build
All domain nameservers are correctly pointing to the host
– Wildcard subdomains are active
– Sunrise.php is in the wp-content folder for the Multisite main site
Fixes I’ve tried:
Am I missing something? Please help!
Thanks!
Check out the code below. Website removed out of respect for my friend:
define('SUNRISE', 'on');
/* Multisite */
define( 'WP_ALLOW_MULTISITE', true );
define('MULTISITE', true);
define('SUBDOMAIN_INSTALL', true);
define('DOMAIN_CURRENT_SITE', 'REAL-SITE-HERE.com');
define('PATH_CURRENT_SITE', '/');
define('SITE_ID_CURRENT_SITE', 1);
define('BLOG_ID_CURRENT_SITE', 1);
# BEGIN WordPress
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]
# END WordPress
]]>Fatal error: Call to undefined function is_multisite() in /home/a6695404/public_html/wp-includes/default-constants.php on line 20
What to do inside default-constants.php file, waiting for response…
]]>I Have installed wordpressin a folder called /word then changed the index to be in the root and was working normal in single site
Then i have changed to Multisite .
now when i try to open my pages it sends me to the wrote and cant get to my pages links
was it wrong to make it to the Root ???
]]>set up multi in a blog folder : example.com/blog/
added a second site : example.com/blog/webinar/
all works fine except on the main https://programyourselfthin.com/blog/
if you add www to anypost
www.programyourselfthin.com/blog/lesson-65-a-new-perspective-on-bad-habits/
redirects to https://programyourselfthin.com/blog/
use no www all works fine.
https://programyourselfthin.com/blog/lesson-65-a-new-perspective-on-bad-habits/
I have no problem in the second multisite created
https://programyourselfthin.com/blog/webinar/
https://programyourselfthin.com/blog/webinar/my-test/
www.programyourselfthin.com/blog/webinar/my-test/
can use www or no www and it redirects like it should to the same post.
any idea?
]]>I have searched the forum for related topics and tried the answers provided, ie changing the htaccess a couple of times but the same thing happens…
Could someone please help me out with live chat as I am totally new to wp and already spent a lot of time tried to solve the problem.
Thanks
LEC