Today I got this problem on an old project where the entire admin panel worked correctly, but for Virtuemart all links looked like http://domain.ruadministrator/index.php?pshop_mode=admin&page=product.product_list&option=com_virtuemart. There should be a slash after the domain, but there is no slash, and therefore all Virtuemart sections in the admin panel do not work. An important note – this concerned only the admin panel, all products on the site worked correctly.
The solution is so simple:
Open via FTP the file /administrator/components/com_virtuemart/virtuemart.cfg.php.
In this file on lines 34-35, there is a mention of the domain name:
define( 'URL', 'https://domain.com' ); define( 'SECUREURL', 'https://domain.com' );
At the end of these lines, add slashes and clear the cache in the admin panel.
The result should look like this:
define( 'URL', 'https://domain.ru/' ); define( 'SECUREURL', 'https://domain.ru/' );