Multisite 404 on subdomain admin
-
Main site: http://www.beesatlanta.com
subdomains:
shellig.beesatlanta.com Document root: /public_html/shellig.com (shellig.com)
prepared4it.beesatlanta.com Document root: /public_html/prepared4it.com (prepared4it.com)
These subdomains had already been created before I installed wordpress at all.None of these sites have any real content (learning before doing).
http://www.beesatlanta.com – I had installed wordpress previously. This is my primary site configured in cPanel.
shellig.beesatlanta.com has a SitePad page on it – again, just seeing what is available. After that, I decided I did not like that and would just use WordPress for all the sites. I read a little as I did not really want to try to figure out how to install and manage WordPress for each site separately and followed the instructions here: https://www.wpbeginner.com/wp-tutorials/how-to-install-and-setup-wordpress-multisite-network/
prepared4it.beesatlanta.com – no content at allISSUE: the admin for the subdomains give me a 404. The network and base site for http://www.beesatlanta.com works fine.
Followed network setup info at wp-admin/network/setup.php:
Add the following to your wp-config.php file in /home/beesatla/public_html/ above the line reading /* Thatβs all, stop editing! Happy blogging. */:define(‘MULTISITE’, true);
define(‘SUBDOMAIN_INSTALL’, true);
define(‘DOMAIN_CURRENT_SITE’, ‘www.beesatlanta.com’);
define(‘PATH_CURRENT_SITE’, ‘/’);
define(‘SITE_ID_CURRENT_SITE’, 1);
define(‘BLOG_ID_CURRENT_SITE’, 1);Add the following to your .htaccess file in /home/beesatla/public_html/, replacing other WordPress rules:
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 verified with my host (GreenGeeks) that
β’ AllowOverride is set to All in httpd.conf
β’ *.beesatlanta.com subdomain is created and pointing to /public_htmlAt this point, I am stumped as to what to do. The only strange thing is the www in the wp-config has to be there or the network administrator does not work. I also already had the subdomains configured and used the same settings in WordPress as in cPanel if that has any impact.
Any help appreciated.
The page I need help with: [log in to see the link]
The topic ‘Multisite 404 on subdomain admin’ is closed to new replies.