Issue with WP in SubDirectory

[ad_1]

Hi Support,

phpmyadmin is working well in the main site:

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]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer