MainWP Community

Login direct to wordpress

Hi can anyone help, for some reason when I login it goes straight to my wordpress dashboard and not the mainwp. Any ideas?

Dan

Try logging in at https://yourdomain/wp-admin/admin.php?page=mainwp_tab

Nothing on that one I get a 404

Hi Dan, since version 4 we have removed the automatic redirection to MainWP Overview after login. This is something that can easily be set via custom code snippet.

You can use the WordPress default filter login_redirect. You can find more details here.

strange thing. I surely never added that filter and the above URL stil works.

I think that it’s default WP behavior that after login, it redirects to the page that you tried to reach before you were logged into the site. This is not related to this hook.

Thanks alot and it did the trick thanks you for your time.

1 Like

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