Hi,
I know this, but the problem is not "Edit Profile" button.
I try to explain you the problem:
Edit profile button create link with this function:
JRoute::_( 'index.php?option=com_users&view=profile&layout=edit' )
for some strange reason joomla turns this into Registration form index.php?option=com_users&view=
registration&layout=edit , change view parameter
When this happen?
this happen when you have menu item of type "Users Manager->Registration Form" and you
not have menu item of type "Users Manager->Edit Profile" or "Users Manager->User Profile"
why it happens?
I think because Joomla try to search a menu item with option=com_users, since there is only the registration form menu item (for com_users component) it directs on this.
Basic link - /index.php/profile/profile?layout=edit
In this case works because the path "profile/profile" is of type "Users Manager->User Profile" (com_users)
Workarounds:
1. Set Registration form's Access Level on "Guest" - with this Joomla can't turns edit profile page on registration menu item id because it is not available for already registered users
2. Create also menu item of type "Users Manager->Edit Profile" or "Users Manager->User Profile" - with this the translation of SEF links becomes correct