• 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. thanks

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • The 2nd domain does not point to the hosting area where the WordPress is installed. Your hosting support must actually recognize this. If you don’t find a setting for this in your hosting, I would recommend you to change the hoster because they are obviously not able to recognize this simple setting on their own systems.

    By the way, the 2nd domain is also missing an SSL certificate, which is why you get a warning here. You should also have this solved in the hosting support.

    Both have nothing to do with WordPress itself but must already be clarified at the hosting system.

    Thread Starter reginatim

    (@reginatim)

    Hi Threadi, thanks for the reply.
    I’ll get the SSL certificate for the 2nd domain once I’ve resolved the hosting issue. In
    In your response, “The 2nd domain does not point to the hosting area where the WordPress is installed,” Is there any way I can resolve this on my own using cpanel? I agree my hosting support is very poor but I’m afraid moving to a different hosting company at the moment might be too expensive for me since I have other sites hosted under the plan I’m currently using.

    Since I don’t use cpanel, I can’t tell you anything about it. Besides, this is not the topic of the wordpress forum here. If you need help configuring cpanel and your hoster is not helpful, find a community that specializes in cpanel. I am sure there is one.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WordPress multisite – getting 404 error on subdomain sites’ is closed to new replies.