proteov
Forum Replies Created
-
Forum: Networking WordPress
In reply to: News sites not being created in multisiteUPDATE
I returned the .htaccess configuration to the suggested subdomains and it continues to work fine, as shown below:
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]
I recommend using this and not the directories I mentioned earlier.
Forum: Networking WordPress
In reply to: News sites not being created in multisiteExcellent, I’m glad to hear it.
It’s a relief, I know. hehehe
Forum: Networking WordPress
In reply to: News sites not being created in multisiteHello maybe this will help you.
He had the same problem and this solved it.
We have discovered that the wildcard subdomain for the domain had an incorrect root directory assigned.
Go to your cPanel to the subdomains area and check the following
My mistake:
Subdomains Document Root
*.mywebsite.com /_wildcard_.mywebsite.comIt worked for me:
Subdomains Document Root
*.mywebsite.com /mywebsite.comAnother important thing is that I left the .htacess that is indicated for directories and not the one indicated for subdomains.
RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] # add a trailing slash to /wp-admin RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ - [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L] RewriteRule . index.php [L]
This worked for me, for multisite subdomains. I do not know why per well it was. Try both.
Good luck ??