WordPress.org

Support

Support » Multisite » [Resolved] Cannot access subfolder's dashboard

[Resolved] Cannot access subfolder's dashboard

  • Hi Dear All,
    I need some help here. Hope angels come knockin.

    I have just convert my WordPress blog to Multisite. I set to subdirectory. My intention is to create a subfolder for testing changes in plugins & other settings.

    However, I cannot even enter the subfolder’s dashboard. Once I select it’s dashboard, it brings me to the primary domain’s dashboard. I cannot change theme and activate plugins. I cannot Post at all at backend for subfolder.

    http://mylivevenue.com/
    http://mylivevenue.com/test/

Viewing 15 replies - 1 through 15 (of 19 total)
  • Try it with all your plugins turned off. You have one that redirects me to a login page, which is not default WP behavior.

    Hi Mika, thanks for responding.
    On your advice, i have disabled all plugins.
    I am still unable to see my dashboards.
    Any other methods?

    For the record, it helps immeseruably if you share the exact error messages 🙂

    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator and inform them of the time the error occurred, and the actions you performed just before this error.

    More information about this error may be available in the server error log.

    What’s in your .htaccess?

    Hi Mika, thanks again for following on helping me. I have spent 4 days on this, very tired.
    I followed instructions based on the below thread posted by member creativepublishing.

    I did not realise i had 500 Internal Server Error until just now I saw your thread. It was stupid ( I was working through graveyard hours, my eyes & brain must’ve been screwed then). I edited my .htaccess as below.

    RewriteEngine On
    RewriteBase /html
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule  ^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*) $2 [L]
    RewriteRule  ^[_0-9a-zA-Z-]+/(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]
    RewriteCond %{HTTP_HOST} ^aaa\-my\.com$ [OR]
    RewriteCond %{HTTP_HOST} ^www\.aaa\-my\.com$
    RewriteRule ^/?$ "http\:\/\/aaa\.my" [R=301,L]

    Now, I have changed it to below. No more 500 Internal Server Error. But still unable to access subdirectory dashboard (i.e. redirect loop still persist)

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]

    I have also added the below to my wp-config.php file. I am using GoDaddy’s Starter Managed WordPress package.

    define('ADMIN_COOKIE_PATH', '/');
    define('COOKIE_DOMAIN', '');
    define('COOKIEPATH', '');
    define('SITECOOKIEPATH', '');
    
    /* That's all, stop editing! Happy blogging. */

    I cleared my cookies, flushed my cache. Did not help my situation.
    Ughhhh! Vomiting blood now.

    I get sent to http://mylivevenue.com/login/ so I really can’t tell where the redirect is, but it’s very much NOT something default in WP…

    Do you have NOBLOGREDIRECT setup in your site?

    Also check your database and look in wp_sites and wp_blog

    Do you have errant www’s in there? All your domains should be www free.

    Hi Mika,
    I did not get sent to my login page if i just typed in mylivevenue.com or mylivevenue.com/test/. I cleared my cache & cookies. You may wish to try again visiting the site.

    Oh gosh! But when I typed http://mylivevenue.com/wp-admin or http://mylivevenue.com/test/wp-admin, they did direct me to my login page. I thought I should get a WordPress login page (thereafter prompt me for my authentication code). What can possibly go wrong here?

    I did not setup noblogdirect…don’t even know where to find this.

    I went into myphpadmin, I only see files under my username, starting with wp_mw33qvdcr5_ (eg. wp_mw33qvdcr5_blogs). I also saw another folder name ‘information schema’. I am not sure where to find databases for wp_sites & wp_blog.

    Never done anything to add any ‘www’ anywhere.

    Hope you are still here with me on solving this issue.

    I revert back to my previous copy of .htaccess and wp-config.php. I still am directed to login (frontend) page of my site when I typed in mylivevenue/wp-admin.

    Here’s a copy of my .htaccess active now:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]
    
    # END WordPress

    Here’s a copy of wp-config.php active now (without the username & password, lines 2 – 80 are omitted):

    <?php
    
    define('WP_DEBUG', false);
    //define( 'WP_CACHE', true );
    require_once( dirname( __FILE__ ) . '/gd-config.php' );
    define( 'FS_METHOD', 'direct');
    define('FS_CHMOD_DIR', (0705 & ~ umask()));
    define('FS_CHMOD_FILE', (0604 & ~ umask()));
    
    define('WP_ALLOW_MULTISITE', true);
    
    define('MULTISITE', true);
    define('SUBDOMAIN_INSTALL', false);
    define('DOMAIN_CURRENT_SITE', 'mylivevenue.com');
    define('PATH_CURRENT_SITE', '/');
    define('SITE_ID_CURRENT_SITE', 1);
    define('BLOG_ID_CURRENT_SITE', 1);
    
    /* That's all, stop editing! Happy blogging. */
    
    /** Absolute path to the WordPress directory. */
    if ( !defined('ABSPATH') )
    	define('ABSPATH', dirname(__FILE__) . '/');
    
    /** Sets up WordPress vars and included files. */
    require_once(ABSPATH . 'wp-settings.php');

    I still cannot access my subdirectories’ dashboards also.

    Seeing as you said you couldn’t access the subdir dashboards, I was actually on ever trying on http://mylivevenue.com/test/wp-admin

    Which is why I asked you in the begining if this happens with plugins OFF.

    What plugin are you using that makes that login page?

    Hi Mika,
    I did not use any Plugin for that page. It is a login page from a Directory theme called Vantage from Appthemes. I am using their Child Theme now. I also removed the top admin bar on frontend using their tutorial here http://docs.appthemes.com/tutorials/vantage-child-theme-tutorial-functionality/

    Right now, only Sandbox plugin is active. Nothing else.

    Anyway, I reckon if you attempt to go into my admin page, you will need a username and password. I tried again, yes it brings me to the non-WordPress login page, it’s my theme’s login page. After I logged in, I get to my admin page and I can continue to work on it. I didn’t know since when I didn’t need to login from WordPress’s admin page since I have been engrossed in making changes, I didn’t even close the browser or the page for past few weeks. I just refresh and continue working once I’m at my laptop. I am wondering now where’s my 2-step authentication to access? Hmmm…

    Will this be a potential banana skin for my redirect issue?
    I do not know how to ‘undo’ this.

    If this login page poses a problem, should I undo my Multisite and see what I get?

    I turned every plugin off from my Network Admin, and for my main site. I still get my theme’s login page to access my admin page.

    Please check these two tickets

    https://core.trac.wordpress.org/ticket/27987
    https://core.trac.wordpress.org/ticket/27866

    They may have some insight

    Hi Mika,
    Thanks for still following up on my case. I really appreciate your help.
    Really reallyy realllly.

    I have checked those cases. I am not so adventurous as they did, Caps for permalinks, change to URL (www)…
    I didn’t ‘disturb’ so much of my php files.

    In General, I just want a test site; one that I can migrate once I am happy with new changes i wish to go live.

    I thought it should be simple. Uggghhh.

    I did not use any Plugin for that page. It is a login page from a Directory theme called Vantage from Appthemes. I am using their Child Theme now.

    Honestly, dump the theme. If a theme overrides the login page, it may not be a Multisite friendly thing.

    I have deactivated the theme. I can access WP Login Page.
    But…that doesn’t solve my MultiSite issue.

    Yes it does.

    The answer is “Your theme is not compatible with WordPress multisite. Please contact the theme dev about that.”

    http://mylivevenue.com/test/wp-admin doesn’t work because TEST isn’t a site (if you go to http://mylivevenue.com/test/ it sends you to http://mylivevenue.com/test-page/ )

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘[Resolved] Cannot access subfolder's dashboard’ is closed to new replies.
Skip to toolbar