Download & Extend

How to remove the /user from user paths?

Project:Pathauto
Version:7.x-1.x-dev
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

I want to remove /user/ and switch it to http://domain/

Then people can easily remember their URL, and share the page (similar to Twitter).

How would I get this to work after a user registers?

Thanks.

Comments

#1

Title:user paths» How to remove the /user from user paths?
Status:active» fixed

Under "User path settings", set the "Pattern for user account page paths:" to [user-raw] (instead of user/[user-raw]). You'll need to run validation when users register so they don't create usernames that are valid menu paths (like 'user', 'node', 'admin', etc). Since this is a support request, marking as fixed since an answer has been provided.

#2

See also http://drupal.org/node/73232 about dangerous patterns.

#3

Status:fixed» closed (fixed)

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

nobody click here