Customizing User "Account Settings" and "Edit Profile" page1 user found helpful
I'd like to make it so that on the "Edit Profile" page for a user, the back button takes them to the site's homepage and not the account settings page. I've tried to make copies of the files and edit those and edit the core files - neither seems to do the trick.
I'd love some advice!
I'm assuming you're on version 5.7.x here! Also be sure you remove cache, if you're caching pages.
Otherwise, as @ramonleenders said put that file into your theme and then update the application/config/app.php to include
'theme_paths' => array( '/account' => 'THEME_NAME', '/account/*' => 'THEME_NAME', ),
Thank you so much!