Show “User not found” instead of own profile

4.41K views
0

Currently the own profile is shown, when a profile does not exists.

I would make it that way:

  • If profile exists (e.g site.com/user/admin): show this profile
  • If profile does not exists (e.g. site..com/user/peter, but there is no user peter): show “User not found”
  • If link is site.com/user (without any name) show own profile

That would be great 🙂