You can see the problem here, this is the link : http://tinirn.com/admin/profile/change-avatar/ , when I remove the slash at the end it works!..
can anyone advise me if there is a file I can change to remove that slash.. thanks
Is your server running on IIS?
@r-a-y no it is running on linux with litespeed server
this small problem is driving me crazy.. I would appreciate any help to solve the link problem,
@kumo99 – This will remove the trailing slash from the change avatar link:
Plop this in your theme’s functions.php.
@r-a-y thanks that function did remove the slash at the end, and the link works now, but before using you code the “remove avatar” link at the end didn’t work either. It just redirect to the homepage and keeps the old avatar.. can you please look at this again and see what may be the cause?!
this “delete avatar” link redirects to homepage without removing the avatar. For me, that link is not important, so I just deleted it, and chose the generated avatar pictures option at the backend. now the user has to upload a new avatar or a new one will be generated, no option to delete the current avatar. I think this is better for me .. thanks @r-a-y