• Hello, I created a new subdomain for my site using multisite under my main directory. I installed WordPress through cpanel and published the site.
    Everything seems to be in order and both www/non-www subdomain pages work fine.
    I can’t access wp-admin dashboard for said subdomain.
    I’m new to this so please let me know if the info is insufficient and any help would be appreciated!
    Attaching the config and htaccess entries I made for multisite.

    Main domain: rossindia.com

    config file entry for main domain

    /* Add any custom values between this line and the "stop editing" line. */
    define( 'MULTISITE', true );
    define( 'SUBDOMAIN_INSTALL', true );
    define( 'DOMAIN_CURRENT_SITE', 'www.rossindia.com' );
    define( 'PATH_CURRENT_SITE', '/' );
    define( 'SITE_ID_CURRENT_SITE', 1 );
    define( 'BLOG_ID_CURRENT_SITE', 1 );
    
    define('SCRIPT_DEBUG', true);
    /* Multisite */
    define( 'WP_ALLOW_MULTISITE', true );
    /* That's all, stop editing! Happy publishing. */

    htaccess entry for main domain

    # BEGIN MULTISITE
    RewriteEngine On
    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
    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]
    
    # END MULTISITE


    Sub domain: id.rossindia.com

    Below is the config file entry for the subdomain:

    /* Add any custom values between this line and the "stop editing" line. */
    define( 'MULTISITE', true );
    define( 'SUBDOMAIN_INSTALL', true );
    define( 'DOMAIN_CURRENT_SITE', 'www.id.rossindia.com' );
    define( 'PATH_CURRENT_SITE', '/' );
    define( 'SITE_ID_CURRENT_SITE', 1 );
    define( 'BLOG_ID_CURRENT_SITE', 1 );
    define('SCRIPT_DEBUG', true);
    /* Multisite */
    define( 'WP_ALLOW_MULTISITE', true );
    /* That's all, stop editing! Happy publishing. */

    Entry in htaccess for subdomain

    RewriteEngine On
    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
    RewriteBase /blog/
    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]
    RewriteCond %{HTTP_HOST} ^www\.id\.rossindia\.com$ [OR]
    RewriteCond %{HTTP_HOST} ^www\.www\.id\.rossindia\.com$
    RewriteRule ^wp\-signup\.php$ "https\:\/\/www\.rossindia\.com\/" [R=301,L]
    • This topic was modified 3 years, 1 month ago by James Huff. Reason: moved to Networking WordPress since this is a multisite issue

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

Viewing 1 replies (of 1 total)
  • Moderator threadi

    (@threadi)

    The reason for the error should be visible in the error log. You can find it in your hosting area. If necessary, the support of your hosting can help you.

    Alternatively, you could also enable debugging in WordPress. How to do this is described here: https://ww.wp.xz.cn/support/article/debugging-in-wordpress/ – also here the support of your hosting can help you if necessary to edit the file accordingly.

Viewing 1 replies (of 1 total)

The topic ‘Cannot access subdomain dashboard – INTERNAL SERVER ERROR’ is closed to new replies.