WordPress multisite – getting 404 error on subdomain sites
-
I used a one click install to install wordpress and then converted it into a sub domain multisite. I have made the required changes to the wp-config
/* Multisite */
define( ‘WP_ALLOW_MULTISITE’, true );
define(‘MULTISITE’, true);
define(‘SUBDOMAIN_INSTALL’, true);
define(‘DOMAIN_CURRENT_SITE’, ‘shikamoo.co.ke’);
define(‘PATH_CURRENT_SITE’, ‘/’);
define(‘SITE_ID_CURRENT_SITE’, 1);
define(‘BLOG_ID_CURRENT_SITE’, 1);define( ‘WP_AUTO_UPDATE_CORE’, ‘minor’ );
/* That’s all, stop editing! Happy publishing. */
/** Absolute path to the WordPress directory. */
if ( ! defined( ‘ABSPATH’ ) ) {
define( ‘ABSPATH’, __DIR__ . ‘/’ );
}/** Sets up WordPress vars and included files. */
require_once ABSPATH . ‘wp-settings.php’;and htaccess file
# 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.The main site shikamoo.co.ke works absolutely fine. When I try to add another site, it shows that the site has been successfully added. But the address https://jobs.shikamoo.co.ke/ shows a page that says no content here and when I try to access the back end (https://jobs.shikamoo.co.ke/wp-admin/) I get a 404 error.
I’ve tried talking to my hosting company but they keep telling me to reinstall wordpress but in doing so I’d loose all the data I have on the main site which is not practical.
Kindly help me to resolve this. thanksThe page I need help with: [log in to see the link]
- The topic ‘WordPress multisite – getting 404 error on subdomain sites’ is closed to new replies.