Comments Redirect back to same page after login in wordpress

No : How to Redirect Users after Successful Login in WordPress

No : Return to the same page after logging in to WordPress

No : Redirect back to same page after login – PHP

No : Redirect Users to WordPress Pages by Role | Plugin Feature

Yes : Comments Redirect back to same page after login in wordpress

Unless you’re using a plugin, the default WordPress redirect after login takes your logged in users to their profile in the WordPress admin dashboard, which is bad.

Using the source editing of the comments that I am going to show you today, you can direct users to the same page which one is the best.

Download code: https://github.com/Borhani-clipamooz/…