abdweb
Forum Replies Created
-
Forum: Networking WordPress
In reply to: Very simple multisite sub domain questionMany thanks to @tvape for suggesting it
Forum: Networking WordPress
In reply to: Very simple multisite sub domain questionHI, managed to get it resolved with help of my Hosting Company. I had to use a workaround that is here:
https://core.trac.wordpress.org/ticket/32308?replyto=26#comment
You basically change two lines in config.php to:
/** Database Charset to use in creating database tables. */
define(‘DB_CHARSET’, ‘utf8mb4’);/** The Database Collate type. Don’t change this if in doubt. */
define(‘DB_COLLATE’, ‘utf8mb4_general_ci’);Everything is no working like a charm, however this is only a temporary measure until the problem itself is fixed. We’ve spent days on this 🙁
Cheers
Clive
Forum: Networking WordPress
In reply to: Very simple multisite sub domain questionNow, when I got to a created subsite, I get
Error establishing a database connection
Forum: Networking WordPress
In reply to: Very simple multisite sub domain questionHi again, after your post, I decided to try again, from scratch on a clean account.
Firstly, I wanted to check the obvious – to find out whether wildcard subdomains were working correctly in themselves.
This can be done easily, just ping a random subdomain that doesn’t actually exist, such as 123.runmyown.website and it should return my server’s IP address, which is does (77.245.66.234).
After setting up the wordpress site with the latest version, I turned it into a mutlisite. The .htaccess is this:
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]The wp-config is this:
/* Multisite */
define( ‘WP_ALLOW_MULTISITE’, true );
define(‘MULTISITE’, true);
define(‘SUBDOMAIN_INSTALL’, true);
define(‘DOMAIN_CURRENT_SITE’, ‘runyourown.website’);
define(‘PATH_CURRENT_SITE’, ‘/’);
define(‘SITE_ID_CURRENT_SITE’, 1);
define(‘BLOG_ID_CURRENT_SITE’, 1);However, add a subdomain gives the old white screen of death.
Ging back in, I can see that the new website has been created. However, the link to the dashboard goes back to the main site, as does the Visit link
Forum: Networking WordPress
In reply to: Very simple multisite sub domain questionHi, sorry, I just wanted to check that someone was able to do it successfully.
Sub folder installs have always worked fine. However, with sub domains, I just get a “page not found” error. I don’t have sunrise.php installed at the moment because I won’t be using domain mapping until later.
Willard DNS is enabled and there is nothing else in .htaccecc. Wp-config.php is set up exactly as the install dictates. Its happening on both of my dedicated servers. One of my hosting techs is saying that the problem is that the sub domains are not having http:// written into the wp-sites table and that this issue is affecting many other people, which is why I tried switching to earlier WordPress versions instead.
Basically I can’t get into the sub domains dashboard or view them but I can see the main site with no issues.
Tasks very much for replying.
Cheers
Clive
Forum: Networking WordPress
In reply to: How to avoid white screen after adding a new blogThis only works with installs in sub folders, sub domains still create the white screen