• Resolved mandrill

    (@mandrill)


    Successfully set up a network on localhost (with subdomains I might add, thanks Andrea_r :D)
    Have created all the blogs I want, however, I would like to be able to access the dashboard of each blog with a single account (preferably the super admin account that I already have)
    I add this user to each blog but when I attempt to access their dashboards from the ‘backend’ link in the sites listing I get taken to a login screen and entering the super admin’s UN and pwd simply loops me back to the login again. I don’t get the screen shake for an error it simply refreshes the login page with the url
    https://subdom.localhost/wp-login.php?redirect_to=https://subdom.localhost/wp-admin/&reauth=1

    I’ve cleared my cache and cookies and tried it in Firefox, Chrome and IE all with the same result.

Viewing 15 replies - 1 through 15 (of 33 total)
  • Then it’s not successful. ?? Cuz this is built in by default, and kinda the point of super admin….

    Got any plugins running or is this a naked install? Also! Clear cookies & cache.

    Thread Starter mandrill

    (@mandrill)

    Cookies and Cache cleared.
    No plugins, naked install.

    I don’t think its an issue with the subdomain setup as every link points to the right place and browsing to each subdomain gets me to the relevant blog.

    I cleared cookies and cache again and now its not even letting me into the main dashboard and sending me round that redirect loop again. I now can’t administer my network at all.

    And your .htaccess file?

    Thread Starter mandrill

    (@mandrill)

    edited/created as the installation of the blog network asked me to.

    Thread Starter mandrill

    (@mandrill)

    The installation of the network did say that as I was installing on ‘localhost’ I would have to use sub dirs but I couldn’t find any reference online to if there were any differences between a subdir .htaccess and a subdom .htaccess so I just left it as was. My .htaccess file reads as follows:

    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]

    The installation of the network did say that as I was installing on ‘localhost’ I would have to use sub dirs but I couldn’t find any reference online to if there were any differences between a subdir .htaccess and a subdom .htaccess so I just left it as was.

    Well, yes. there ARE differences. ??

    Specifically the line to get in to the admin area….

    (where’s ipstenu when I neeeed her? she has this memorized, I swear.)

    Thread Starter mandrill

    (@mandrill)

    I found the subdom .htaccess example (PEBCAK, didn’t read far enough down the create a network page)

    # BEGIN WordPress
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule . index.php [L]
    # END WordPress

    and I tried it but with the same result.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    The second htaccess is correct, but IIRC this one is a API/key issue. Did you change your salts and keys when you turned on the network?

    Thread Starter mandrill

    (@mandrill)

    Ah. During this process I have uninstalled and reinstalled WP, backing up the original config and .htaccess files. and simply replacing them. And of course the key’s will be different, won’t they. I didn’t think of that.

    I have changed the .htaccess to the subdom one mentioned above, and regenerated a new set of keys from the link given in the config file,

    The result is the same however. Still caught in that redirect loop on login.

    Thread Starter mandrill

    (@mandrill)

    Just run another uninstall/reinstall. Just to be sure.

    Not changed the keys, used the subdom .htaccess and all goes fine until it asks me to log in again after creating the network. then I get stuck in the redirect loop once more.

    Completely fresh installation, no plugins, no users apart from the super admin, and no blogs in the network apart from the original one.

    Thread Starter mandrill

    (@mandrill)

    I tried turning SSL off on Apache, but this doesn’t fix it either.

    Are you using Chrome? Try a different browser anyway, to start.

    Also, check those salts & keys and take out anything that isn’t a number or letter.

    Thread Starter mandrill

    (@mandrill)

    Tried in Chrome, IE, and Firefox with the same result.

    Cleared Cache and Cookies, then removed non-alphanumeric characters from Keys/salts.

    Retried in above browsers, same result.

    So…. when you put the edits in the config file, you stuck them in the middle – not at the bottom right?

    Thread Starter mandrill

    (@mandrill)

    Yes. I put them all above the line that reads:
    /*That's all, stop editing! Happy Blogging. */

    In the order:

    * MYSQL Settings
    * Keys and Salts
    * Table prefix
    * Language settings
    * Multisite definitions

Viewing 15 replies - 1 through 15 (of 33 total)
  • The topic ‘SIngle User Multiple Blogs issue’ is closed to new replies.