• Resolved lmstearn

    (@lmstearn)


    Hi Support,

    phpmyadmin is working well in the main site: https://mysite.com

    Installed WP in a subdirectory, oldsite, and installed phpmyadmin in there. However, after clicking “enter local phpmyadmin”, the db in the main site is loaded instead of the oldsite:

    https://mysite/wp-content/plugins/wp-phpmyadmin-extension/

    instead of

    https://mysite/oldsite/wp-content/plugins/wp-phpmyadmin-extension/

    When configuring the php on hosting option with the latter url, the resulting page shows blank rather than loading the db in oldsite.

    Tried this in .htaccess for oldsite:

    define( ‘WP_SITEURL’, ‘https://mysite.com/oldsite’ ); define( ‘WP_HOME’, ‘https://mysite.com/oldsite’ );

    No effect. Is there any way to load up the db for the subdirectory?

    Thanks for phpmyadmin!

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author ttodua

    (@ttodua)

    Hi.

    Try to uninstall & reinstall phpMyAdmin.

    that is the only thing I can think of as a help.

    Thread Starter lmstearn

    (@lmstearn)

    Thanks, was lucky to avoid re-installing by logging off both sites, and removing cookies for both, before again logging into oldsite to get

    https://mysite/oldsite/wp-content/plugins/wp-phpmyadmin-extension/

    Did come across a plugin which claimed to manage separate WP installs in the one session- (missed it second time around)- perhaps it had some kind of basic cookie management to workaround theabove issue.

    • This reply was modified 2 years, 2 months ago by lmstearn.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Issue with WP in SubDirectory’ is closed to new replies.