.htaccess or WP Multisite misconfiguration? TLD throwing DB Error...

Avatar
  • Answered
I'm running a WordPress multisite configuration. As it currently sits, www., ca. & uk. all resolve normally to each sub-domain's site, however if you hit the multisite just using the TLD (example.com no prefix), you see a DB error. Trying to figure out if this is resolved by .htaccess or if there's a tweak inside WordPress I'm not familiar with? I've tried adjusting .htaccess by adding the following 2 lines :
RewriteCond %{HTTP_HOST} !^www.example.com$ [NC]
RewriteRule ^(.*)$ http://www.example.com/$1 [L,R=301]

But this rule overrides & disables the 2 subdomains ( uk. & ca. )
Any ideas would be greatly helpful.
Avatar
Arn
Hello,

Sorry for the problem with the WordPress multisite configuration. We need more information and access in order to troubleshoot the problem. Can you please provide WordPress Admin access (and the domain for access) so that we can look at the back end and see what's happening? Are you able to login to the backend okay? Can you describe how you're setting up the multiple domains? If you can please provide us with a little more information, then we can look at the site and see what's happening.

If you have any further questions or comments, please let us know.

Regards,
Arnel C.