Using same database for main and subdomain

Can I use the same database that I use at mysite.com also to my subdomain Yes, as long as the table names don’t clash you’re fine, some people have multiple WP instances using the same database, but with different table prefixes. However, keep in mind that there is a security risk as now 2 sites … Read more

How do I maintain static directories on multisite subdomains?

The standard WP RewriteRules ignore files and directories that “exist”. Example: # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ – [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress This the rewrite rule set for a WP install in the “root” of a site. Notice these … Read more

How to create Sub Sub domain Multi User blogs?

While this question is several months old and you’ve probably figured something out already, I figured it was worth answering anyway. This is possible to do using the WP Multi Network Plugin. WordPress has the underlying structure to accomplish this, but no accompanying UI — this plugin merely offers that interface. Some things are not … Read more

Possible to create a multisite network where the main site is non-WP?

I haven’t tested it, but it should be possible with these steps: Use example.net (not .com) as main installation for the multisite (or areallybigteam.com). Install WordPress with subdomains. Create the sites. Edit the URLs of all sites as you need: blog.example.com, team.example.com and areallybigteam.com. Make sure the document root for all these (sub)domains matches your … Read more

How can I link users across multiple subdomains?

The fact that you haven’t mentioned MultiSite in your post makes me think that doing some research there would be a good next step for you: https://codex.wordpress.org/Create_A_Network User Accounts are shared across sites in the network, and sites can be different subdomains.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)