Hi @abhigovind
I hope you’re well today!
To make sure:
You are using Forminator and you have a “login” type form created in it. This form is set to redirect to homepage after login but that redirect doesn’t happen and instead user is taken to their profile page, right?
That is, when they login through the Forminator form, right?
I mean – Forminator does not change the default behavior of standard loging form (the one at /wp-login.php and /wp-admin). Redirect set in Forminator form would only work if you login using that specific form. It isn’t working then if you login using Forminator form, right?
If you have moved site to a new domain, it may be directly related because the redirect URL set in Forminator is “fixed”. It’s exactly as you set it and it doesn’t “read” the domain from WordPress settings.
That said, please edit the form and in its “Behavior” settings check current URL set in “Redirect user to URL” behavior settings. Make sure that the URL set there matches your site’s current domain.
Once that’s done, update form and then also:
1. go to “Settings -> Permalinks” page in site’s back-end and re-save current permalinks settings (no need to make changes there, just re-save them as they are)
2. if your site/server is using any kind of cache – do fully purge all cache
If this doesn’t solve the issue, it would usually mean that there’s either some other plugin or some additional code forcing such redirect but first, please try above solution and let’s see if it solves the issue for you.
Best regards,
Adam