In reply to AdelDima.

Hey AdelDima,

This extension does work for subdirectory multisite installations and when WP is installed in a folder as long as it can tell that that's the WP root directory. When you hit the keyboard shortcut, it works like this:

1. Check if the links in the admin bar at the top are present (which are only there when logged in). If so, use those to switch to/from the admin.
2. If not, search the links in the page source for instances of '/wp-content/' or '/wp-includes/'. If at least one URL is found that contains either of those, assume that everything to the left of it is the WP root url, and use that the build the admin URL. So if your site's URL is example.com/folder/ and you hit the shortcut, you'll be prompted to login, then redirected to example.com/folder/wp-admin as long as at least one URL on the page contained '/wp-content/' or '/wp-includes/'.

So one example would be an HTML script tag that contains this: src='http://example.com/folder/wp-includes/js/jquery/jquery.js?ver=1.12.4'

Until you're logged in, that's the only way the extension can tell that the WP install is inside of a folder.

I hope that helps out. I'm glad you like the idea of the extension :)