Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
可能重复: 用户名作为路径
我想根据用户名创建一个 URL,例如 mysite.com/user1。如果用户名是“mrsmith”,则会自动创建 URL mysite.com/mrsmith,并将链接到用户配置文件。 我试图在 Drupal 7 中使用 pathauto 模块,但建议的模式不起作用。
你对如何做到这一点有什么建议吗?