Doesn't work in subdirectories

I installed my dashboard in a subdirectory: www.example.com/login
But the extension doesn’t “understand” this. It always tries to connect to the domain itself, i.e. www.example.com/admin instead of www.example.de/login/admin.
The “login” is always automatically removed from the extension :frowning:

Kind regards,
Thomas

I don’t recall any previous reports of this issue, but it’s likely not a common setup for most users since the MainWP Dashboard is typically installed on its own independent subdomain or site.

I recommend starting by checking your Site URL settings, ensuring your wp-config.php is correctly configured, and verifying that your .htaccess rules are properly set up for a subdirectory installation.

If the issue persists, consider moving your Dashboard to a subdomain or a dedicated URL for better stability.

1 Like

Thank you for your quick reply. WP-Config and Htaccess are configured correctly. I suspect it’s due to my particular setup:

  • example.com is redirected to another domain for security reasons and cannot be reached at all
  • Only example.com/login/admin is accessible in the browser.
  • Main-WP itself has been working with this setup for years without any problems💪🏼

If the browser plugin doesn’t work in this configuration, that’s not a problem; it would have been a nice extra :slight_smile:

A new installation on a subdomain would currently be too time-consuming for me just to use the browser extension.

Kind regards and thank you very much
Thomas

@ThomasE , I apologize, I completely missed you were talking about the Browser Extension and read it as your general Dashboard.

I still don’t see any reports of that behavior but again that may be just do to the limited number of people using your setup.

I’ll add a note in our Linear bug tracker to take a look at that next time we update the browser extension but that may not be for a couple months, just to set appropriate expectations on that.

My apologies again on that misunderstanding.

Are you really using login and admin as folder names? These are reserved permalinks for WordPress login and admin pages. So that might be related.

No problem, I was just testing it out for myself. Of course, it would be great if it worked for me in the future too :wink: While testing, I noticed another thing that was also asked about in other posts about the browser plugin:
It is currently not possible to enter a longer URL for the dashboard. I had this problem too. But it works if you use another “separator” instead of the slash. A Backslash instead of a normal Slash. This makes my subdirectory example work the links in the plugin: example.com\login

I still can’t get the connection to synchronize, but the links at the top of the Broser plugin to my own dashboard and the website work for me…

Thanks for your inquiry, Jos. No, it’s probably an example I chose that was a bit misleading :frowning: