Edit profile not working

Right now I have my 404 page set so it just redirects back to whatever the previous page was. So whenever I go tohttp://mywebsite.com/members/admin/profile/edit/
it’ll redirect me to my previous page because this page doesn’t exist. How do I get it to work?

I’ve the problem with browsers of Microsoft, Opera and Chrome. With Firefox and Safari it works right, try it. I do not know why the other browsers do not redirect from …/profile/edit/ to …profile/edit/group/1