I am trying to figure out what the best practice for user profile URL. I would like to provide an easy to remember url for members.

Currently using path auto I have the user profile url as domain.com/u/username

But I think it would be much better if I could have the username right after the domain but I don't want to introduce any security vulnerabilities by allowing domain.com/username.

So I am thinking of alternatives such as domain.com/+username
but that doesn't really work because Drupal converts the + symbols to %20

What would be a good alternative?

domain.com/~username maybe
or
domain.com/-username or
???

Comments

VM’s picture

domain/username would not cause a security issue.