Support » Networking WordPress » Site design not loading in muktisite and dashboard no working

  • Resolved prateekplus

    (@prateekplus)


    I just installed a subdirectory installation on my site wearedtech.com and my orginal directory of installation in the server is in wearedtech.com/wordpress.

    I created a new site “/test” or any other even, the theme design is not being loaded up and shows the page in plain text, like this wearedtech.com/test .

    Also apart from this, I’m not able to get into its dashboard either. opening the dashboard shows a redirect loop which is not allowing me to get in. I’m really new to multisite and however i managed to setup multisite and now I’m stuck here.

    What could be the possible problem behind redirect loop? Any help would be appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter prateekplus

    (@prateekplus)

    sorry for the typo in the post heading.

    This is my wp-config file

    /* Multisite */
    define( 'WP_ALLOW_MULTISITE', true );
    define('MULTISITE', true);
    define('SUBDOMAIN_INSTALL', false);
    define('DOMAIN_CURRENT_SITE', 'wearedtech.com');
    define('PATH_CURRENT_SITE', '/');
    define('SITE_ID_CURRENT_SITE', 1);
    define('BLOG_ID_CURRENT_SITE', 1);

    And here goes the .htaccess file.

    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).*) wordpress/$1 [L]
    RewriteRule ^(.*\.php)$ wordpress/$1 [L]
    RewriteRule . index.php [L]

    Thread Starter prateekplus

    (@prateekplus)

    Well I solved the issue myself only after hours of searching on Google. Found the answer in the wordpress documentation itself.

    For all those others who may encounter the same problem, I can share my solution with you all.

    The problem was with .htaccess file, as my installation was not in the root folder but in a subdirectory in the root. i.e. root/wordpress. I just had to change the RewriteBase thing in the file and it worked well.

    This is what I changed to direct it to the installation folder.

    RewriteEngine On
    RewriteBase /wordpress
    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).*) wordpress/$1 [L]
    RewriteRule ^(.*\.php)$ wordpress/$1 [L]
    RewriteRule . index.php [L]

    All the best. Happy Blogging. 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Site design not loading in muktisite and dashboard no working’ is closed to new replies.