MainWP Community

Default page after login

I have 2 installs of MainWP.
On one of them when I log in, I land on the MainWP sites list.
On the other install, I land on the WordPress dashboard.

How do I change the page that I see after logging in?

Hi Mark, you might try with the following filter:

function admin_default_page() {
  return '/new-dashboard-url';
}

add_filter('login_redirect', 'admin_default_page');

Don’t forget to set your wanted URL :wink:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.