Migrate button doesn’t work on site installed on subpath
-
Thanks for the awesome plugins!
I have a site installed on a subpath, so the wp-admin is also on a subpath: https://www.example.com/blog/wp-admin
When I click the “Migrate Content” button, there is JavaScript in the plugin that causes a redirect to https://www.example.com/admin.php?page=pmxe-admin-export&action=options; however, since I’m on a subpath, the correct redirection should be to https://www.example.com/blog/admin.php?page=pmxe-admin-export&action=options
I can see the issue is in dist $scope.process function in dist/app.js line 42529:
$window.location.href = ‘admin.php?page=pmxe-admin-export&action=options’;
I’d suggest using either a localized variable set to the results for get_admin_url();
Cheers!
The topic ‘Migrate button doesn’t work on site installed on subpath’ is closed to new replies.