I noticed that if I have it set up so that users can have the cool http://mysite.com/username type of usernames, it'll cause problems if someone chooses to have a username of say "admin", "cpanel", "user" etc. So is there a way to make it somewhere in the admin area so that users can't choose whatever usernames that I decide should not be used by anyone? Just like the "Strings to Remove" field, maybe have something like a "Strings to Prevent" field?

Comments

marcoka’s picture

i would say a username blacklist would that be called. path auto is not doing such stuff.
i remember that you can define rules for usernames "admin/user/rules"

dave reid’s picture

Status: Active » Fixed

Yeah this is out of scope for pathauto. This is why we provide a encourage users to not set a pattern as just one token at the root-level of the site as it can cause multiple problems.

jay.lee.bio’s picture

Wow, there sure is a module for everything. Thanks guys, that "admin/user/rules" piece (which I think is for Drupal 6) helped me find the solution:

http://drupal.org/project/user_restrictions

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.